-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smbus install issues #186
Comments
The raspbian python3-smbus installs in /usr/lib/python3/dist-packages
In your Python 3.6 do:
Check if |
It is not in my path but when I add it I get the same result:
|
smbus2 on PyPi is supported for python 3.6. Alternatively you can look at my py-smbusf in https://github.com/PiSupply/PaPiRus/tree/master/RTC-Hat-Examples/py-smbusf |
When running;
"sudo python3 setup.py install"
I encounter an error;
"ModuleNotFoundError: No module named 'smbus'"
I have tried installing smbus and smbus2 with pip, pip3 pip3.6 no combination worked.
running;
"sudo apt-get install python3-smbus"
works and installs smbus but only for Python 3.5.3, not Python 3.6.5
Is there a simple way to copy the library from 3.5.3 to 3.6.5?
The text was updated successfully, but these errors were encountered: