I have tried to convert a .py file to .exe using pyinstaller. This was the code I used:
.py
.exe
pyinstaller
pyinstaller --onefile mainfile.py
but it is not working and saying the error
Failed to Execute Script Mainfile
Can anyone here help me?
2.1m questions
2.1m answers
60 comments
57.0k users