Vista + Python = Screwd? Calling python experts!, Trying to compile python script...Vista |
![]() ![]() |
Vista + Python = Screwd? Calling python experts!, Trying to compile python script...Vista |
Apr 24 2008, 07:00 PM
Post
#1
|
|
|
New Member ![]() Posts: 5 OS: windows vista |
Thx in advanced guys This post has been edited by MaxHit: Apr 24 2008, 07:40 PM |
|
|
Apr 25 2008, 03:01 PM
Post
#2
|
|
![]() Tech Apprentice Posts: 2,081 From: Louisville, Ky OS: Windows XP Home, Ubuntu 8.04, Back Track 3, Slackware, Windows Server 2003 |
I believe this is the tutorial you are looking for: http://www.py2exe.org/index.cgi/Tutorial.
|
|
|
Apr 25 2008, 04:29 PM
Post
#3
|
|
|
New Member ![]() Posts: 5 OS: windows vista |
Thx for the tut. I followed it twice and still got the same error(When i type " start setup.py py2exe" in my DOS window it says "Import Error: No module named py2exe.).
I think i might not have py2exe insatlled properly, is there a tutorial to install it? Or a way to check if it is installed? |
|
|
Apr 25 2008, 04:56 PM
Post
#4
|
|
|
New Member ![]() Posts: 5 OS: windows vista |
Woot! Third times a charm!
I got all the way to where i ran my setup.py... The error was... c:\Python25\py2exe-0.6.6>setup1.py py2exe running py2exe *** searching for required modules *** *** parsing results *** creating python loader for extension 'unicodedata' creating python loader for extension 'bz2' *** finding dlls needed *** Traceback (most recent call last): File "C:\Python25\py2exe-0.6.6\setup1.py", line 4, in <module> setup(console=['hello.py']) File "C:\Python25\lib\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands self.run_command(cmd) File "C:\Python25\lib\distutils\dist.py", line 994, in run_command cmd_obj.run() File "C:\Users\Daniel Favor\Desktop\Caleb\py2exe-0.6.6\py2exe-0.6.6\py2exe\bui ld_exe.py", line 223, in run File "C:\Users\Daniel Favor\Desktop\Caleb\py2exe-0.6.6\py2exe-0.6.6\py2exe\bui ld_exe.py", line 283, in _run File "C:\Users\Daniel Favor\Desktop\Caleb\py2exe-0.6.6\py2exe-0.6.6\py2exe\bui ld_exe.py", line 367, in find_dlls File "C:\Users\Daniel Favor\Desktop\Caleb\py2exe-0.6.6\py2exe-0.6.6\py2exe\bui ld_exe.py", line 925, in find_dependend_dlls ImportError: No module named py2exe_util I think it might be because i didnt install my py2exe properly, how do you install?(There is no installer in derectory) This post has been edited by MaxHit: Apr 25 2008, 06:11 PM |
|
|
Apr 26 2008, 10:37 AM
Post
#5
|
|
|
New Member ![]() Posts: 5 OS: windows vista |
Well i assumed that i had to run setup.py thats in py2exe folder to install it... BUT, it get this error
error: Python was built with visual studio 2003; visual studio was not found on your computer. If you have cygwin installed compile with ming32, by passing "c- ming32" to setup.py. i shortend it a bit but has all important things Anyway i went out to download visual studio...I downloaded VS 2005 and tryed again! Same error. Do i need the 2003 version? Man this is so weird and messed up need help plz guys. (Sry for triple post |
|
|
Apr 27 2008, 09:36 PM
Post
#6
|
|
|
New Member ![]() Posts: 5 OS: windows vista |
I have everythin setup...When i run my setup.py i get this.(Im running vista)
I have found this same error posted on 5 different forums without answer. If somone could figure this our i think it would be very helpful for many people. running py2exe *** searching for required modules *** *** parsing results *** creating python loader for extension 'unicodedata' creating python loader for extension 'bz2' *** finding dlls needed *** Traceback (most recent call last): File "C:\Users\Daniel Favor\Desktop\mycode\setup.py", line 4, in <module> setup(console = ["hello.py"]) File "C:\Python25\lib\distutils\core.py", line 151, in setup dist.run_commands() File "C:\Python25\lib\distutils\dist.py", line 974, in run_commands self.run_command(cmd) File "C:\Python25\lib\distutils\dist.py", line 994, in run_command cmd_obj.run() File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 223, in run self._run() File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 283, in _run dlls = self.find_dlls(extensions) File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 367, in find_dl ls self.dll_excludes) File "C:\Python25\lib\site-packages\py2exe\build_exe.py", line 925, in find_de pendend_dlls import py2exe_util ImportError: DLL load failed with error code 193 (Window pops up saying) C:\python25\site-packages\py2exe\py2exe_util.pyd is either not designed to run on windos or it contains an error. Try installing the program again using the original installation media or contact you system admin or software vendor for support. |
|
|
![]() ![]() |
Similar Topics
| Topic Title | Replies / Views | Topic Information | |||||
|---|---|---|---|---|---|---|---|
![]() |
12 / 771 | 4th June 2007 - 04:21 PM hypnoticstate started - last by hypnoticstate |
|||||
![]() |
6 / 685 | 7th July 2007 - 04:59 PM ummmm started - last by troy |
|||||
![]() |
2 / 581 | 24th August 2007 - 09:09 AM Matt L started - last by Matt L |
|||||
![]() |
6 / 306 | 24th June 2008 - 07:14 PM Woodyuk started - last by Makaveli213 |
|||||
![]() |
2 / 80 | 17th August 2008 - 05:14 PM okiflowa started - last by Rorschach112 |
|||||
|
Time is now: 6th September 2008 - 10:09 PM |
| Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk. |