8/11/2017 8:25 AM | |
Joined: 4/28/2015 Last visit: 6/3/2024 Posts: 3345 Rating:
|
Hi, are you using the exmaple image V2.1.3? I attached two python scripts, one with mraa and one with sqlite3. These two scripts are working calling them with
Can you try these two scripts? Best regards! Attachmentpython_scripts.zip (201 Downloads) |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
This contribution was helpful to
1 thankful Users |
8/11/2017 6:50 PM | |
Posts: 20 Rating:
|
Okay. New Download - same problem. Any ideas? I will try another SD-Card... but I dont think think it will help. |
10/24/2018 4:54 PM | |
Joined: 8/18/2015 Last visit: 8/8/2024 Posts: 8 Rating:
|
Update: This problem still exist. I can't use this workaround. I must use Python3. Can somebody help? |
12/6/2018 5:47 PM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating:
|
Hello, mraa is not functional in python3 with the example image V2.2.0. This issue is now fixed, so building a fresh image against master branch would solve your problem. Check out this issue on github for more information. I wouldn't recommend using python2, but there is still the possibilty of installing pip2 if you don't want to build an image. Kind regards! |
Follow us on