[python-win32] Attempt to make executable from Python script

travel europe europe_travel at hotmail.com
Wed Mar 31 10:59:03 CEST 2010


Harald,

 

I followed the recommendation in your link and got the following result:

 

C:\Python26\dist>golden.exe
Traceback (most recent call last):
  File "golden.py", line 2, in <module>
  File "winsys\registry.pyc", line 39, in <module>
  File "winsys\security.pyc", line 42, in <module>
  File "winsys\_security\_tokens.pyc", line 10, in <module>
  File "winsys\accounts.pyc", line 31, in <module>
  File "winsys\dialogs.pyc", line 46, in <module>
  File "win32ui.pyc", line 12, in <module>
  File "win32ui.pyc", line 10, in __load
ImportError: DLL load failed: This application has failed to start because the a
pplication configuration is incorrect. Reinstalling the application may fix this
 problem.

 

Can you think of anything else to try? Thanks!

 

 

Ron
 


Date: Tue, 30 Mar 2010 17:22:28 +0200
Subject: Re: [python-win32] Attempt to make executable from Python script
From: chef at ghum.de
To: europe_travel at hotmail.com
CC: python-win32 at python.org

Hello Travel Europe,


that is a documented challenge with the excellent WinShell module from Tim Golden.


I described in detail how to solve it at:


http://www.py2exe.org/index.cgi/WinShell



best wishes,


Harald


On Tue, Mar 30, 2010 at 07:39, travel europe <europe_travel at hotmail.com> wrote:


Hello,
 
I am attempting to make an executable from a working Python script per the instructions from the following website:
 
  http://logix4u.net/Python/Tutorials/How_to_create_Windows_executable_exe_from_Python_script.html
 
Everything seems to go as planned, except when I run the resulting executable I get the following message:
 
Traceback (most recent call last):
  File "tim.py", line 2, in <module>
  File "winsys\registry.pyc", line 39, in <module>
  File "winsys\security.pyc", line 42, in <module>
  File "winsys\_security\_tokens.pyc", line 10, in <module>
  File "winsys\accounts.pyc", line 31, in <module>
  File "winsys\dialogs.pyc", line 45, in <module>
ImportError: No module named shell
 
 
Any suggestions? Thanks!




Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn More.
_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32



-- 
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Spielberger Straße 49
70435 Stuttgart
0173/9409607
no fx, no carrier pigeon 
-
%s is too gigantic of an industry to bend to the whims of reality
 		 	   		  
_________________________________________________________________
Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20100331/2ea99e83/attachment.html>


More information about the python-win32 mailing list