【发布时间】:2017-06-09 21:36:24
【问题描述】:
我正在做一个学校项目,通过传感器 mlx90615 读取温度。 在我的代码中出现错误: 回溯(最近一次通话最后): 文件“/home/p/12345.py”,第 21 行,在 导入 i2c 导入错误:没有名为“i2c”的模块
【问题讨论】:
标签: python-3.x i2c
我正在做一个学校项目,通过传感器 mlx90615 读取温度。 在我的代码中出现错误: 回溯(最近一次通话最后): 文件“/home/p/12345.py”,第 21 行,在 导入 i2c 导入错误:没有名为“i2c”的模块
【问题讨论】:
标签: python-3.x i2c
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.
【讨论】:
我已经这样做了,但仍然出现同样的错误
【讨论】: