[Tutor] Wrestling with the Py2exe Install, Win7[XP!], Py2.5

Wayne Watson sierra_mtnview at sbcglobal.net
Fri Feb 19 01:48:24 CET 2010

Got it. Fooled myself. I'm converting to  Win7 and have my XP keyboard 
and monitor side by side with the same for XP. I did the world program 
in XP and py2exe module in W7!!

world compiled and ran successfully. Now for a bigger program with 
matplotlib and tkinter. Maybe I'll just settle for a small matplotlib 
program for the moment. VBG

Thanks very much.

On 2/18/2010 4:30 PM, Wayne Watson wrote:
> It imported setup fine from the IDLE cmd prompt. Win Cmd prompt is 
> fine to operate it. Just curious about IDLE. I looked in setup.py and 
> don't see what the complaint is. It sure thinks py2exe is not available.
> I'm now in IDLE's path browser. I see pkgs in ...\lib\site-packages 
> like dateutil, numdisplay, numpy, but no py2exe. Doesn't seem right, 
> since I can import it. I'm pretty sure that during the install that 
> py2exe was headed to site
> On 2/18/2010 8:25 AM, Robert Berman wrote:
>>> -----Original Message-----
>>> From: tutor-bounces+bermanrl=cfl.rr.com at python.org [mailto:tutor-
>>> bounces+bermanrl=cfl.rr.com at python.org] On Behalf Of Wayne Watson
>>> Sent: Wednesday, February 17, 2010 10:07 PM
>>> To: tutor at python.org
>>> Subject: Re: [Tutor] Wrestling with the Py2exe Install, Win7[XP!],
>>> Py2.5
>>> I'm following the tutorial and ran into a snag. Here  is the console
>>> output.( Can I do  this  from IDLE?)
>>> C:\Sandia_Meteors\Sentinel_Development\Learn_Python>c:\python25\pyth
>>> on
>>> setup.py
>>> Traceback (most recent call last):
>>>     File "setup.py", line 2, in<module>
>>>       import py2exe
>>> ImportError: No module named py2exe
>>> Note the need to back pedal to c:\python25\
>>> Perhaps I need some path variable set?
>>> -- 
>> Wayne,
>> When you install py2exe it should insure all the required modules are
>> available to your standard python path. For example, I am running 
>> python 2.64
>> and the py2exe module is in the python path.
>> I don't use IDLE. I use Ipython however I cannot see why IDLE would 
>> not work.
>> To tell if you are OK do import py2exe. You should have no problem 
>> loading it.
>> If you do, reinstall it.
>> Robert

             "There is nothing so annoying as to have two people
              talking when you're busy interrupting." -- Mark Twain

More information about the Tutor mailing list