使用pyinstaller打包时缺少模块

时间:2018-11-01 06:08:09

标签: python

我使用Windows 7和python 2.7。 当我尝试使用pyinstaller将文件打包成.exe文件时。在warnmian.txt中,它表示:

missing module named PyQt4 - imported by C:\Python27\lib\site- 
packages\PyInstaller\loader\rthooks\pyi_rth_qt4plugins.py
missing module named _sysconfigdata - imported by distutils.sysconfig
missing module named fcntl - imported by tempfile, subprocess
missing module named org - imported by copy
missing module named grp - imported by shutil, tarfile
missing module named pwd - imported by posixpath, shutil, tarfile
missing module named readline - imported by cmd, pdb
missing module named 'org.python' - imported by pickle
missing module named dbm - imported by whichdb, anydbm
missing module named gdbm - imported by anydbm
missing module named bsddb3 - imported by bsddb
missing module named _pybsddb - imported by bsddb, bsddb.db
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 posix - imported by os
missing module named resource - imported by posix

如何解决?

0 个答案:

没有答案