yanxianrui_freshmen
2015-11-11 02:58python程序用pyinstaller打包成单个exe文件后运行出错
如题,我打包一个python程序,import 的包比较多,打包过程也没报错,用pyinstaller
-D 打包为目录时程序可以执行,用-F打包成单个文件,运行就崩溃掉,
warn*文件里这样的信息
missing module named unicodedata.ucd_3_2_0 - imported by unicodedata, stringprep, encodings.idna
missing module named _sre.MAXREPEAT - imported by _sre, sre_constants
missing module named _warnings.warn_explicit - imported by _warnings, warnings
missing module named _warnings.filters - imported by _warnings, warnings
missing module named _warnings.once_registry - imported by _warnings, warnings
missing module named _warnings.default_action - imported by _warnings, warnings......
哪位有经验的同学帮忙看下怎么破,不甚感激。。。
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 使用Python调用了CMD命令并把结果筛选后显示在图形化界面上,打包exe后黑色窗体去不掉如何解决
- 小程序
- python
- 全文检索
- 3个回答
- 跪求如何把mysql数据库和一个pyqt5的app打包到一起
- python
- mysql
- 2个回答
- python安装不了pyinstaller
- python
- 4个回答
- win7 64位下用pyinstaller打包exe后在win10上发出excel功能无法使用,这是为什么?大神求解
- python
- 开发语言
- 1个回答
- python3.8用pyinstaller3.5导不出exe提示TypeError: an integer is required (got type bytes)
- django
- flask
- python
- virtualenv
- tornado
- 2个回答
换一换