====== Pyinstaller打包提示超过最大递归深度问题 ====== **RecursionError: maximum recursion depth exceeded** ====== 解决方案 ====== - 执行''pyinstaller -F filename.py'',生成filename.spec文件 - 在filename.spec文件头添加: import sys sys.setrecursionlimit(5000) - 再次执行''pyinstaller filename.spec'' {{:pyinstaller.png?400 |}}