python-用pyinstaller打包.py文件时,出现maxium recursion depth exceeded解决办法

出现的问题如图: 解决办法: 在你要打包的.py文件路径下,会出现同名的.spec文件,用notepad打开该文件,在第二行添加上如下两句: import sys sys.setrecursionlimit(10000) 保存关闭该文件,然后在终端上输入: pyinstaller xxx.spec即可。我的是pyinstaller dataConvert_v1.2.spec。   就是用notep
相关文章
相关标签/搜索