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

前端 未结 9 1066
栀梦
栀梦 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

    Sometimes even the limit 5000 is not enough. It helped me to set limit to 20000. (in file 'filename.spec')

    import sys
    sys.setrecursionlimit(20000)
    

提交回复
热议问题