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

posted @ 2020-04-02 23:20  那好好  阅读(3015)  评论(0)    收藏  举报