stevemarple / python-MCP342x

Access Microchip MCP342x analogue to digital converters from python
MIT License
13 stars 14 forks source link

Problem with the smbus library #2

Open banichow opened 6 years ago

banichow commented 6 years ago

I ran into this while installing on the latest jessie image. the smbus dependence is using an out of date version smbus-cffi. In the version I downloaded I changed it to "smbus" and installed with sudo and everything worked great.

banichow commented 6 years ago

I have made this change but I believe do to the security I cannot push the change into the development branch. Steve, if you see this please let me know what you would like me to do. I can send you the changes

stevemarple commented 6 years ago

The latest release (v0.3.4) now requires smbus instead of smbus-cffi. Is that what you meant? If not please submit a pull request against the latest version.

Thanks, Steve

banichow commented 6 years ago

OK, I will give this a try again. New to this and trying to figure it out. Thanks As a side note, the dependant library is smbus2. It seems to be a newer version and the cffi version is having some installation issues with it against the newest version of raspbian.