Abhishek Tripathi
Abhishek Tripathi

Reputation: 84

RecursionError: maximum recursion depth exceeded while converting py to exe

I created a program and was trying to convert the py to exe. For which I firstly installed pyinstaller by pip install pyinstaller and then I went to the directory where the program is and opened terminal in that directory.

The command which I used to convert the py to exe was pyinstaller --onefile main.py.

main.py was my file name and I didn't use -w because I need console and my program doesn't have any GUI.

I'm getting RecursionError: maximum recursion depth exceeded Error. The dist and build directory are created but dist doesn't have anything inside.

The program which I'm converting is available here.

Upvotes: 1

Views: 2176

Answers (1)

Legorooj
Legorooj

Reputation: 2757

This is a bug in PyInstaller we (The PyInstaller devs) are working to fix. See https://github.com/pyinstaller/pyinstaller/issues/4406 for more details and to watch the progress of the fix.

Upvotes: 2

Related Questions