June 14th, 2005, 04:57 PM
py2exe problem please help!!!
I've intalled python 2.3 and its corresponding py2exe utility. I intalled both of them in the same location as required which is Cython23\. Below is my setup.py:
from distutils.core import setup
description="A brief description",
...and I try to execute setup.py using the following command:
python setup.py py2exe
...and I get the following error:
Traceback (most recent call last):
File "setup.py", line 3, in ?
ImportError: No module named py2exe
....why cant it find the py2exe module on my comp?????
June 14th, 2005, 06:03 PM
Possibly you didn't install py2exe, or it isn't in the correct path.
June 14th, 2005, 06:10 PM
make sure you get the one for python2.3 or it will not work for python2.3 if you got python2.4
June 14th, 2005, 06:31 PM
I have installed the correct version of py2exe. When I installed python 2.3 i installed it in C: python23\ and when I installed the corresponding version of py2exe the installer asked for the directory that python.exe was located in so i again routed the installation to C: python23\. C: python23\ is the path of python.exe. I am still clueless as to why it can't find the py2exe utility?
Originally Posted by CyBerHigh
June 14th, 2005, 06:36 PM
ok. apparently all is well. I was unaware that my script hat to be compiled within the "site-packages" folder that was created when i installed py2exe. thanks for your help!