pyinstaller creating EXE RuntimeError: maximum recursion depth exceeded while calling a Python object

前端 未结 9 1047
栀梦
栀梦 2020-11-29 18:51

I am running WinPython 3.4.4.3 with pyinstaller 3.2 (obtained via pip install pyinstaller).

Now I\'ve got some really simple Qt4 code that I want to convert to EXE a

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-29 19:43

    Even until March 2020, this issue has not been solved yet. As per some people's explanation, I increased setrecursionlimit in .spec file and tried to build it, but it did not work.

    Through googling, I found out that this issue is caused by conflict of latest version of openpyxl and pyinstaller. Older version of openpyxl, such as 2.3.5 version, does not cause this issue.

    As such, solution for this issue is as follows.

    pip uninstall openpyxl
    pip install openpyxl==2.3.5
    

提交回复
热议问题