Compiled windows executable only works on some windows computers

103 views
Skip to first unread message

TStirling

unread,
Feb 6, 2012, 12:51:25 PM2/6/12
to PyInstaller
I am very new to Python and was tasked with making a python script run
as a stand along executable on windows. I used EasyGUI to at a GUI and
Pyinstaller to make a single windows executable.

The executable runs fine on my windowx XP instance run through VMware
Fusion on my Mac, and it does on two colleague's native Windows 7 and
my parents windows 7. It fails to run on a friend's native windows 7
PC, another colleague's windows XP machine, and my girlfriend' Windows
Vista laptop.

I can't find any pattern here.

No error messages are given, warnings, or anything. Double clicking
the executable very briefly pops up a more or less invisible window
for a few microseconds which you can't see and then it disappears
without trace. Running from the command line provides no error
messages. The program should print a welcome message to the CL
immediately upon execution so the program just can't be running at
all.


I don't even know where to begin since on my available computers it
runs so i cann't see how the error occurs or if I can fix it.

What are the common problems that I should look at?




Martin Zibricky

unread,
Feb 6, 2012, 1:46:41 PM2/6/12
to pyins...@googlegroups.com
TStirling píše v Po 06. 02. 2012 v 09:51 -0800:

> What are the common problems that I should look at?

What is your pyinstaller version?

Gadget/Steve

unread,
Feb 6, 2012, 3:19:45 PM2/6/12
to pyins...@googlegroups.com
The most usual cause for this sort of problem is one or more missing
DLL(s) from your executable image, most usually those from the Visual
C++ re-distributable pack. Some dump tools can help with this but make
sure that your package includes msvcp71.dll at the very least.

Hope this helps!

Gadget/Steve

Hartmut Goebel

unread,
Feb 7, 2012, 2:25:53 AM2/7/12
to pyins...@googlegroups.com
Am 06.02.2012 18:51, schrieb TStirling:
> What are the common problems that I should look at?

Please have a look at
<http://www.pyinstaller.org/wiki/FAQ#IfThingsGoWrong> ans follow the
guide there.


--
Schönen Gruß - Regards
Hartmut Goebel
Dipl.-Informatiker (univ.), CISSP, CSSLP

Goebel Consult
Spezialist für IT-Sicherheit in komplexen Umgebungen
http://www.goebel-consult.de

Monatliche Kolumne: http://www.cissp-gefluester.de/
Goebel Consult ist Mitglied bei http://www.7-it.de


Reply all
Reply to author
Forward
0 new messages