+ 1
.py to .exe [solved]
I’ve been having problems trying to convert my py files to executables on Windows 10. I installed pyinstaller and have been trying with that but with no luck. When I try to run the exe it fails. I am using python version 3.6 and I’m not sure if it’s a compatibility issue with the python version or with Windows 10 or if something else entirely is going on. Any help would be appreciated. Thanks!
7 odpowiedzi
+ 1
So i figured out my problem. I was creating a Tkinter application that used an icon, and pyinstaller doesnt automatically add necessary files so i had to copy the icon file to the folder with the exe and it worked fine
+ 2
It is the compiler (PyInstaller). Use py2exe.
+ 1
I use PyInstaller and I have no errors at all
+ 1
Christopher on windows 10?
+ 1
.teew okay thanks ill definitely try that one next
+ 1
Yes Brandon Bradshaw
+ 1
Christopher okay thanks. im not sure why i’m having trouble then. it generates all the files and the .exe but it just doesnt run