Answer the question
In order to leave comments, you need to log in
Why doesn't the code with PyQt5 compile to exe python?
Good afternoon.
Compiling python code using PyQt5 to exe .
When running Main.exe , the alert " Fatal error to execute Main script " crashes.
I use pyinstaller and compile like this: pyinstaller --onefile --noconsole Main.py
I tried to remove --noconsole and look at the error in the console.
Outputs the following:
How to deal with this? Tried different ways. Until nothing comes out.
Answer the question
In order to leave comments, you need to log in
Here is the thing, visually pyinstaller uses a different python.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question