![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
pyinstaller
宇亲
这个作者很懒,什么都没留下…
展开
-
ImportError: cannot import name ‘is_py2‘
ImportError: cannot import name 'is_py2'这个是pyinstaller4.0以上版本报出的错误,'is_py2'是pyinstaller3.6版本的文件。可以将4.0版本的pyinstaller删除,在https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyinstaller下载在pyinstaller3.6版本 whl文件进行安装。安装方法pip install ***.whlhttps://www.lf...原创 2020-08-20 20:55:31 · 888 阅读 · 0 评论 -
pyinstaller 打包报错问题大全
pyinstaller 打包exe运行错误 No module named 'pkg_resources.py2_warn'背景:使用pyinstaller打包好exe后,运行出现以下错误。在更新pip的python库前打包是可以正常运行的。打包过程没有出现任何错误提示。环境python3.7.4 win64Traceback (most recent call last): File "site-packages\PyInstaller\loader\rthooks\pyi_rth_原创 2020-08-20 20:47:21 · 1905 阅读 · 0 评论