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

23rd Jul 2018, 9:17 PM
Brandon Bradshaw
Brandon Bradshaw - avatar
7 Respostas
+ 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
30th Aug 2018, 1:14 AM
Brandon Bradshaw
Brandon Bradshaw - avatar
+ 2
It is the compiler (PyInstaller). Use py2exe.
24th Jul 2018, 7:29 AM
.teew
.teew - avatar
+ 1
I use PyInstaller and I have no errors at all
24th Jul 2018, 12:13 PM
Christopher
Christopher - avatar
+ 1
Christopher on windows 10?
24th Jul 2018, 1:31 PM
Brandon Bradshaw
Brandon Bradshaw - avatar
+ 1
.teew okay thanks ill definitely try that one next
24th Jul 2018, 1:32 PM
Brandon Bradshaw
Brandon Bradshaw - avatar
24th Jul 2018, 2:26 PM
Christopher
Christopher - avatar
+ 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
24th Jul 2018, 8:48 PM
Brandon Bradshaw
Brandon Bradshaw - avatar