1

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.

8
  • please share build output as well Commented Mar 30, 2020 at 22:08
  • build consist of one folder named main which has two files inside in it one is base_library.zip and another is main.exe.manifest. Commented Mar 30, 2020 at 22:11
  • oh sorry, i meant the error you are getting. Commented Mar 30, 2020 at 22:12
  • As I mentioned in the post RecursionError: maximum recursion depth exceeded. This is the error I'm getting. In the terminal. Commented Mar 30, 2020 at 22:26
  • im able to generate .exe, can u tell ur python version? and pyinstaller version? Commented Mar 30, 2020 at 23:45

1 Answer 1

2

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.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.