ImportError:无法导入名称_remove_dead_weakref

时间:2018-04-24 01:47:42

标签: pycharm exe py2exe

当我在pycharm中运行py文件来生成.exe文件时,我在.exe.log文件中收到错误:

Traceback (most recent call last):
File "E2Tools.py", line 17, in <module>
File "E2Tools.py", line 17, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "zipextimporter.pyc", line 82, in load_module
File "logging\__init__.pyc", line 26, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "weakref.pyc", line 14, in <module>

ImportError: cannot import name _remove_dead_weakref

有人可以告诉我如何解决这个问题吗?

0 个答案:

没有答案