本文主要是介绍pyinstaller 错误 maximu recursion,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
RecursionError: maximum recursion depth exceeded
- 使用pyinstaller错误
使用pyinstaller错误
1、打包exe程序时,在pyinstaller -F detect.py时报错如下
在本目录下生成的detect.spec文件中加入
import sys
sys.setrecursionlimit(50000)
然后执行:pyinstaller -F detect.spec
这篇关于pyinstaller 错误 maximu recursion的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!