Link to home
Start Free TrialLog in
Avatar of csehz
csehzFlag for Hungary

asked on

Python - troubleshooting .exe file compiled from Python

Dear Experts,

I have a Python code which surely works correctly running from the console in Anaconda (one of the Python IDE)

My target is to create from this .py file and .exe, for that installed PyInstaller and created the .exe.

However running that .exe there can be just seen a fast flashing on the screen (like the cmc Command Prompt window it seems) and the code stops who knows where, no any error message or information where stopped.

Could you please point out some possibilities, how to troubleshoot issues in such generated .exe file containing Python code?

Thanks in advance,
ASKER CERTIFIED SOLUTION
Avatar of gelonida
gelonida
Flag of France image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of csehz

ASKER

Thank you trying this general method helped me a lot to understand how it works.

Anyway concretely the .exe in the question started to work after a computer restart, so everything is fine without the need of modification