我必须手动安装模块insteon.py。
所以我将模块复制到/usr/lib/python2.7/dist-packages和usr / local / lib / python2.7 / dist-packages中。
当我尝试导入模块insteon.py时,它会给我这个错误:
Traceback (most recent call last):
File "main.py", line 15, in <module>
from insteon import Insteon
File "/usr/lib/python2.7/dist-packages/insteon.py", line 25, in <module>
config = configuration.loadConfig()
AttributeError: Configuration instance has no attribute 'loadConfig'