Skip to content
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

Problems with smbus #7

Open
GeralDennis opened this issue Sep 19, 2022 · 0 comments
Open

Problems with smbus #7

GeralDennis opened this issue Sep 19, 2022 · 0 comments

Comments

@GeralDennis
Copy link

I need help!
When a run the script I obtain the following error:

Traceback (most recent call last):
File "chirp.py", line 21, in
import smbus
ImportError: No module named smbus

I've installed python 2.7.18 and when I want to install smbus library using "sudo apt-get install python-smbus", I obtain the following error:

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python-smbus is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-smbus' has no installation candidate

Thanks in advance for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant