+ 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 Answers
+ 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