pyinstaller不导入模块 [英] pyinstaller does not import modules
本文介绍了pyinstaller不导入模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当尝试使用pyinstaller编译我的脚本时,在警告txt文件中,我得到此信息:
When trying to compile my scripts with pyinstaller, In warning txt file I get this:
missing module named org - imported by copy missing module named 'org.python' - imported by pickle
missing module named _subprocess - imported by subprocess
missing module named msvcrt - imported by subprocess
missing module named riscosenviron - imported by os
missing module named riscospath - imported by os
missing module named riscos - imported by os
missing module named ce - imported by os
missing module named _emx_link - imported by os
missing module named os2 - imported by os
missing module named nt - imported by os, ntpath
missing module named 'widgets.icons' - imported by /home/user/dev/imageConverter/imageConverterWindow.py
missing module named widgets - imported by /home/user/dev/imageConverter/imageConverterWindow.py
missing module named checkFiles - imported by /home/user/dev/imageConverter/imageConverterWindow.py
missing module named settings - imported by /home/user/dev/imageConverter/imageConverterWindow.py
missing module named converter - imported by /home/user/dev/imageConverter/imageConverterWindow.py
您可以看到pyinstaller看不到许多模块,包括python模块.我正在使用Centos 7和python 2.7.
As you can see there are bunch of modules pyinstaller does not see, including python modules. I'm Using Centos 7 and python 2.7.
只需重新安装即可.
Simply re-installation worked.
推荐答案
简单的重新安装即可.
这篇关于pyinstaller不导入模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文