Python错误:importlib.machinery
from importlib.machinery import EXTENSION_SUFFIXES
导入错误:没有名为 machinery 的模块
正在清理中... 命令 python setup.py egg_info 失败,错误代码为 1
我现在在 Windows 上安装 GeoNode,这是我目前必须让它工作的环境。 在过程中遇到了很多问题,我被上面的错误卡住了。 我在网上找不到安装 machinery 包的方法。 任何帮助都将不胜感激。 谢谢,
1 个回答
1
Python 3:
Python 3.3.1
>>> from importlib.machinery import EXTENSION_SUFFIXES
>>>
Python 2:
Python 2.7.4
>>> from importlib.machinery import EXTENSION_SUFFIXES
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named machinery
>>>