-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Thought I'd share this error I got on my RPi 3B 1.2:
>>> from mcp9600 import MCP9600
>>> mcp9600 = MCP9600(i2c_addr=0x66)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.7/dist-packages/mcp9600-0.0.4-py3.7.egg/mcp9600/__init__.py", line 169, in __init__
File "/usr/local/lib/python3.7/dist-packages/i2cdevice-0.0.7-py3.7.egg/i2cdevice/__init__.py", line 166, in __init__
self._i2c = smbus.SMBus(1)
FileNotFoundError: [Errno 2] No such file or directory
If you get this error, please check that in RPi > Preferences > RPi Configuration > Interfaces > I2C is Enabled.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels