I wrote a python script for a calculator and tried to convert my .py
file to a .exe
file. After converting to .exe
file, I am getting error("Failed to execute script <Filename>")
.
The solutions i have tried:
- I tried to run my python3.8 script using 3.6 script.
- I tried converting my .png icon to .ico image.
- I tried to convert my .py file .exe file using pyinstaller & auto-py-to-exe as well.