On 10/7/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > At 07:05 AM 10/7/2007 -0500, Mike wrote: > >Phillip, > > > >On 10/6/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > > > At 02:25 PM 10/6/2007 -0500, Mike wrote: > > > >Hi, > > > > > > > >That's what I thought, but before I installed the distutils package > > > >manually, I got this: > > > > > > > >L:\Temp\pycrypto-2.0.1>python setup.py > > > >Traceback (most recent call last): > > > > File "setup.py", line 8, in ? > > > > from setuptools import setup > > > >ImportError: No module named setuptools > > > > > > > > > > > >And I get that now that I've deleted the distutils-egg file. Do I need > > > >to download setuptools from some place? > > > > > > Distutils comes with Python, setuptools does not. For setuptools > > > installation info, see: > > > > > > http://pypi.python.org/pypi/setuptools > > > > > > >I'm usually not this dense when it comes to Python. I'm just new to > >the distribution process. I did as you said and now I'm back to the > >first error I posted. I deleted the distutils-egg and the > >setuptools-egg directories. > > Try this: > > python -c "import distutils; print distutils.__version__, distutils.__file__" > > This should print a version and a filename. The filename should be > something like 'c:\Python24\Lib\distutils\...' (*without* > site-packages between the Lib and distutils), and the version should > be 1.0.3 or higher. > > If the location is different, you haven't uninstalled it > correctly. If the location is correct but the version is less than > 1.0.3, you installed the distutils over the version that came with > Python, and will have to reinstall Python to fix it. > >
Here is what was returned: 2.4.1 L:\Python24\lib\distutils\__init__.py I did notice that if I try running Python from the command line, it loads the ActiveState version of Python 2.4.3 rather than the "normal" 2.4.3 version. I don't suppose that could be the problem, could it? I checked the path that ActiveState uses and it points to the same location though... I'm at a loss. Mike _______________________________________________ Distutils-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/distutils-sig
