Pyinstaller超过最大递归深度 [英] Pyinstaller Maximum Recursion Depth Exceded

查看:462
本文介绍了Pyinstaller超过最大递归深度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用pyinstaller 3.3.1从python 3.6.4创建可执行文件.我使用的软件包是Pandas和openpyxl.当我尝试创建捆绑包时,出现此错误.

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")

所以我认为问题与openpyxl有关,但是pyinstaller应该与此兼容.任何帮助将不胜感激!

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!

推荐答案

删除构建& dist文件夹,然后尝试再次运行pyinstaller yourscript.py. 就我而言,python 3.6.3版本仍然可以运行它.

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.

这篇关于Pyinstaller超过最大递归深度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆