Search code examples
python-3.xi2c

install i2c library on python


I'm doing a school project to read the temperature through the sensor mlx90615. In my code an error appears: Traceback (most recent call last): File "/home/p/12345.py", line 21, in Import i2c Importerror: no module named 'i2c'


Solution

  •     It clearly indicates that the required jar files are missing 
    http://pyi2c.sourceforge.net/ You can download from here and add the jar file in your referencing environment. That will help to overcome the error.