Bei pyinstaller demo.py sind folgende Probleme aufgetreten:
=============================================================
A RecursionError (maximum recursion depth exceeded) occurred.
For working around please follow these instructions
=============================================================
1. In your program's .spec file add this line near the top::
import sys ; sys.setrecursionlimit(sys.getrecursionlimit() * 5)
2. Build your program by running PyInstaller with the .spec file as
argument::
pyinstaller myprog.spec
3. If this fails, you most probably hit an endless recursion in
PyInstaller. Please try to track this down has far as possible,
create a minimal example so we can reproduce and open an issue at
https://github.com/pyinstaller/pyinstaller/issues following the
instructions in the issue template. Many thanks.
Lösung: Öffnen Sie die Datei demo.spec und fügen Sie die folgenden zwei Zeilen hinzu
import sys
sys.setrecursionlimit(sys.getrecursionlimit()*5)
Dann
pyinstaller demo.spec
Sie können weiter packen