Closed afan09 closed 5 years ago
i just did sudo python3 setup.py install then when i try : from smbus2 import SMBus, ic_msg
sudo python3 setup.py install
from smbus2 import SMBus, ic_msg
it give me an error like that.. `ImportError Traceback (most recent call last)
Given your import statement, that's the correct behavior. There is no ic_msg in the lib. Now, there is a class called i2c_msg, ref. example 5 in README.md.
ic_msg
i2c_msg
i just did
sudo python3 setup.py install
then when i try :from smbus2 import SMBus, ic_msg
it give me an error like that.. `ImportError Traceback (most recent call last)