pyinstaller执行后出现maximum recursion depth exceeded while calling a Python object


通过查阅,得知如下:

1.递归深度不够,我设置一下递归深度

# 在首文件头部
import
sys sys.setrecursionlimit(5000)

 

2.openpyxl的问题

# openpyxl版本问题,在2.3.5可以正常打包
pip uninstall openpyxl
pip install openpyxl==2.3.5

 

 

原文链接:https://stackoverflow.com/questions/38977929/pyinstaller-creating-exe-runtimeerror-maximum-recursion-depth-exceeded-while-ca


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM