【问题标题】:install i2c library on python在 python 上安装 i2c 库
【发布时间】:2017-06-09 21:36:24
【问题描述】:

我正在做一个学校项目,通过传感器 mlx90615 读取温度。 在我的代码中出现错误: 回溯(最近一次通话最后): 文件“/home/p/12345.py”,第 21 行,在 导入 i2c 导入错误:没有名为“i2c”的模块

【问题讨论】:

    标签: python-3.x i2c


    【解决方案1】:
        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.
    

    【讨论】:

      【解决方案2】:

      我已经这样做了,但仍然出现同样的错误

      【讨论】:

        猜你喜欢
        • 2015-03-31
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-01-10
        • 2016-02-02
        • 1970-01-01
        • 2016-08-20
        • 2011-03-01
        相关资源
        最近更新 更多