I am trying to create a exe file from .py file using pyinstaller but after creating the exe file... it's not working... plz help | Sololearn: Learn to code for FREE!

+2

I am trying to create a exe file from .py file using pyinstaller but after creating the exe file... it's not working... plz help

Pyinstaller

2/2/2021 10:48:26 AM

Sinjini Das

13 Answers

New Answer

+3

my bad its not online, but this is what worked for my little app. https://pypi.org/project/auto-py-to-exe/

+3

pyinstaller Yourfile.py Or: python3 -m pyinstaller Yourfile.py

+2

Thanks... guys... the exe file is working fine... I forgot to write root.mainloop which is why it was running with idle but not from command line.... once it's working with command line... the exe with pyinstaller was also working...😁✌

+1

What kind of gui library are you using?

+1

Okay, and are there any errors thrown or does it just not respond when you click on the icon?

+1

Gotcha, and ypu are able to just run the gui through python correct?

+1

okay, it honestly may be a problem with the process to make it into an exe. How many times have you tried? and which version of pyinstaller are you using. I beleive they also have a web gui version that may also be an option

+1

Try python module auto-py-to-exe Or cxfreeze module to convert py to exe

0

PIL, tkinter

0

No nothing is showing... when clicking it's just blinks a black screen for split of a second and then nothin

0

0

I have tried at least 4-5 times...I'm using pyinstaller 4.2 and my python version is 3.7... web gui version?! Ok...