Pyinstaller Maximum Recursion Depth Exceded

自作多情 提交于 2019-12-24 10:15:06

问题


I am trying to create an executable from python 3.6.4 using pyinstaller 3.3.1. The packages I am using are Pandas and openpyxl. When I try to create the bundle I receive this error.

$ RecursionError: maximum recursion depth exceeded in comparison

I have tried increasing my recursion limit and most of the steps described in How to Report Bugs and the error is still the same. I also got the same error when I tried bundling

import openpyxl
print("Hello World")

so I think the problem has to do with openpyxl but pyinstaller is supposed to be compatible with this. Any help would be greatly appreciated!


回答1:


Install the development version, it should have been resolved in #2919:

pip install https://github.com/pyinstaller/pyinstaller/tarball/develop



回答2:


Remove the build & dist folder, and try run your pyinstaller yourscript.py again. For my case, python 3.6.3 version still be able to run it.



来源:https://stackoverflow.com/questions/48894407/pyinstaller-maximum-recursion-depth-exceded

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!