9/10/2018 10:51 AM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating: (60)
|
Hello, I recommend using python3, since mraa is preinstalled and supported by python3 in the current master branch. Check out this issue on github for more infos. If you build your own image using the current master branch you should be able to solve your issues. Kind regards! |
9/10/2018 12:22 PM | |
Joined: 4/28/2015 Last visit: 11/12/2024 Posts: 3345 Rating: (379)
|
Hi, I tried to install mraa for python3 from source, but "import mraa" doesn't work. Maybe I need to adapt some pathes or soemthing, don't know.. Another possibilitiy is to install pip for python2. I had some issues with the python version 2.712. Then I installed python 2.7.15 and ran get-pip.py. The steps are:
After that create a file called "get-pip.py" under /home/root with the content you can copy from here. That's a way how it should work. The recommended way is to build your own image with the current master branch like Fe_lipe mentioned. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
This contribution was helpful to1 thankful Users |
9/12/2018 7:16 AM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating: (43) |
OK, this is now a networking problem. Are you using dhcp on the second interface (eth1)? If so, you might be affected by a similar issue as reported and resolved in https://github.com/siemens/meta-iot2000/issues/93. |
9/28/2018 8:56 AM | |
Posts: 6 Rating: (0) |
Should this solution also work for wlan0 interface? best regards Alex |
9/28/2018 7:34 PM | |
Joined: 4/28/2015 Last visit: 6/28/2024 Posts: 578 Rating: (43) |
That networking issue should be fixed with this commit: https://github.com/siemens/meta-iot2000/commit/aae68ced5962c7806f26eef0a14187957d92945d. |
This contribution was helpful to1 thankful Users |
Follow us on