最近在用 pyinstaller 打包项目的时候遇到如下错误:
RecursionError: maximum recursion depth exceeded
解决方案filename.spec
文件:pyinstaller -F filename.py
filename.spec
文件头添加下面语句import sys
sys.setrecursionlimit(5000)
pyinstaller
和 .spec
文件pyinstaller filename.spec
以上方式解决了我的问题,很适用。
作者:Ju_Sang
来源:CSDN
原文:https://blog.csdn.net/jusang486/article/details/82383256
版权声明:本文为博主原创文章,转载请附上博文链接!
UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xce in position
解决方案在你打包的命令行中先输入
chcp 65001
然后再输入打包命令:
pyinstaller -F xxx.py
pyinstaller 打包错误:RecursionError: maximum recursion depth exceeded
原文:https://www.cnblogs.com/q735613050/p/10017394.html