Luke not noreplymikej... Failed to Execute script error

11 views
Skip to first unread message

noreply noreply

unread,
Nov 14, 2019, 5:35:24 PM11/14/19
to PyInstaller
Hi there, I have used pyinstaller in the past to convert my python scripts in to windowed .exe files on a Windows 10 OS. Im using Python 3.7.4, Pyinstaller 3.4 and ever since I had to do a reinstall of python and the libraries due to me getting a new computer, Pyinstaller builds my scripts just fine but when I run the GUI it displays the error "Failed to execute script". I have tried to build in --onefile and in -- onedir with no luck. My windows work just fine when I run them from the command line so I dont believe it to be an issue with the codes. (I have also taken old source code that I complied successfully in the past and tried to recompile it.... It failed.) I looked in the C:<filepath>\dist\<myprogram_dir> and found that it was missing a lot of .dll's. Mostly the api-win and other various .dll's. The only thing it had was the PyQt5 libraries. On a side note, when I build non GUI programs and compile them, they run just fine...it seems to not like to compile GUI's.
Thanks in advanced for any help that can be given.
-Luke
BTW the noreplymikej is a dummy gmail account I created to have so my programs can email me when things go wrong or the user needs help.
Reply all
Reply to author
Forward
0 new messages