K
K
kuzdman2019-03-11 15:00:37
Python
kuzdman, 2019-03-11 15:00:37

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:
5c864d4270a3e064069068.jpeg
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

1 answer(s)
A
Andrey_Dolg, 2019-03-12
@Andrey_Dolg

Here is the thing, visually pyinstaller uses a different python.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question