首页 > 编程语言 > 详细

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

时间:2020-04-02 23:50:35      阅读:101      评论:0      收藏:0      [点我收藏+]

通过查阅,得知如下:

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

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

原文:https://www.cnblogs.com/nahaohao/p/12623806.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!