Hi, I need your help,
When I try to use mraa library for python, I have this error:
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python2.7/site-packages/mraa.py", line 32, in
_mraa = swig_import_helper()
File "/usr/lib/python2.7/site-packages/mraa.py", line 28, in swig_import_helper
_mod = imp.load_module('_mraa', fp, pathname, description)
ImportError: File not found
I used the steps in this page: https://github.com/intel-iot-devkit/mraa/blob/master/README.md https://github.com/intel-iot-devkit/mraa/blob/master/README.md
Installing on Intel 32bit Yocto based opkg image
For true, I've Intel Galileo 1Gen, and this SDImage is this: https://software.intel.com/en-us/iot/hardware/galileo/downloads https://software.intel.com/en-us/iot/hardware/galileo/downloads
Latest Yocto* Poky Image (210 MB)
Can you help me please?, Thanks!
Thanks for your interest in the Intel® Galileo Platform.
We appreciate all the information provided. We'd love to help you with it, and we would like to suggest you to configure your Galileo to fetch packages from the AlexT's repo, please follow the instructions here: http://alextgalileo.altervista.org/package-repo-configuration-instructions.html AlexT's Galileo & Edison pages, then use opkg update and opkg install mraa. Additionally, could you please let us know the output of this command opkg info mraa?
We'll be waiting for your reply.
I, I'm sorry for late...
this is the answer:
https://github.com/intel-iot-devkit/mraa/issues/656 error with mraa library on Python from Galileo · Issue # 656 · intel-iot-devkit/mraa · GitHub
I was using a copy-paste version to run only little sketch of Arduino and no-Python programs of the Intel Galileo.
root@galileo:~# cat /etc/os-release
NAME=iot-devkit (Intel IoT Development Kit)
PRETTY_NAME=iot-devkit (Intel IoT Development Kit) 3.5 (tarsier)
We're happy to know your issue was solved. If you have any other question don't hesitate to open a new thread and we'll be happy to help you.
Have a nice day!