我是python编程的新手。我在 Linux 上构建了 Beremiz 程序,我得到了这个错误。
File "Beremiz.py", line 164, in <module>
from ProjectController import ProjectController, MATIEC_ERROR_MODEL, ITEM_CONFNODE
File "/DATA1/UTILITY/Beremiz/beremiz/ProjectController.py", line 16, in <module>
import connectors
File "/DATA1/UTILITY/Beremiz/beremiz/connectors/__init__.py", line 34
for name in listdir(_base_path)
^
connectors = {name:_GetLocalConnectorClassFactory(name)
for name in listdir(_base_path)
if path.isdir(path.join(_base_path, name))
and not name.startswith("__")}
此语法不是 python 构建的。什么是问题?谢谢大家。