Error when trying to do a dry run

84 views
Skip to first unread message

DennisD

unread,
Mar 28, 2012, 11:00:27 PM3/28/12
to gui...@googlegroups.com
I hope this gets and answer though I am not expecting much since the last post to this group was in December of 2011
 
I wrote a wxpython app to make qrcodes from text in and input box using wxpython. I wanted to make it and executeable before I upload it somwhere for public consumption.
 
When I did a dry run on it I get this error every time
 
"from py2exe.build_exe import py2exe
ImportError: No module named py2exe.build_exe"
 
I have python2.6,2.7and 3.2.2 installed on this win 7 machine. All in seperate directories with paths set so that python 2.6 is searched first,l then 2.7.then 3.2 for modules
This setup seems to work for everything that I have that needs python.
 
Can someone please help
Thanks.
 

Andrea Gavana

unread,
Mar 29, 2012, 2:44:39 AM3/29/12
to gui...@googlegroups.com
Hi,

It appears to me that you don't have py2exe installed Which version of
Python is GUI2Exe actually picking up? Do you have all the required
libraries installed for GUI2Exe to work?

http://code.google.com/p/gui2exe/

Under the "Requirements" section.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

DennisD

unread,
Mar 29, 2012, 10:09:48 PM3/29/12
to gui...@googlegroups.com
Hi,

http://code.google.com/p/gui2exe/

Under the "Requirements" section.

DUH I feel so STUPID Now.

 

You were correct. I did not have py2exe installed on this laptop. I had it on my old desktop machine and I never did install it here when I brought this machine  Thanks Andrea.
 
Now on to other problems. After installing py2exe and then doing a dry run with gu2exe again I get this error.
 
 

error: can't copy 'C:\Users\DD\Desktop\My Projects\wxpython\QRProject\build\bdist.win32\winexe\collect-2.6\wxPython\__init__.pyo': doesn't exist or not a regular file

 

I can post the whole build output text file if you need it. The compile seems to have gon much father this time since I acutally have py2exe installe :;

 

thanks

 

 
 
 
Reply all
Reply to author
Forward
0 new messages