8/11/2017 8:25 AM | |
Joined: 4/28/2015 Last visit: 1/27/2021 Posts: 1851 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 (101 Downloads) |
This contribution was helpful to
1 thankful Users |
8/11/2017 6:50 PM | |
Joined: 7/23/2017 Last visit: 9/25/2018 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/14/2020 Posts: 8 Rating:
|
Update: This problem still exist. I can't use this workaround. I must use Python3. Can somebody help? |
10/25/2018 7:21 AM | |
Joined: 4/28/2015 Last visit: 1/27/2021 Posts: 1851 Rating:
|
Hi, which image version are you using and what exactly is your problem? Something with mraa? Best regards! |
12/6/2018 5:47 PM | |
Joined: 12/12/2016 Last visit: 1/27/2021 Posts: 549 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