Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18089

Re: i2c-tool pgk to be able to use SMBUS in python

$
0
0

Update on Python.h error

  I realized I didn't have the python-dev package in my SD. I followed the instructions posted by AlexT : http://alextgalileo.altervista.org/package-repo-configuration-instructions.html

  and performed the following command:  # opkg install python-dev

 

I succesfully performed the instructions. Trying to import smbus in Python, I have the following error:

>>> import smbus

/usr/bin/python2.7: symbol 'i2c_smbus_access': can't resolve symbol in lib '/usr/lib/python2.7/site-packages/smbus.so'.

Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

ImportError: unknown dlopen() error

 

let me know your thoughts.

thanks

Keiner


Viewing all articles
Browse latest Browse all 18089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>