[XML-SIG] PyXML-0.6.6 installation locally in virtually-hosted web space (resent, updated)

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Sat, 18 Aug 2001 01:39:47 +0200


> I would like to install PyXML and 4Suite along side of Python 2.1.1 in 
> some virtually-hosted web space.  I installed Py 2.1.1 on my account 
> some time ago 

When you say "I installed", what exactly do you mean? Did you all of
"configure;make;make install"? If not, that is the problem.

> After ungzipping and tar -xvf'ing the PyXML-0.6.6 tar.gz, I tried 
> placing it into Python-2.1.1/Modules, went into the PyXML-0.6.6 dir and 
> did "python setup.py install".  

It's irrelevant where you untar the distribution; it could have been
in /tmp. However, when you invoked "python setup.py install", which
copy of Python did you get? You can find out by saying "which python".
If the answer is "/usr/bin/python", or "/usr/local/bin/python", then
that is the problem - you should use the Python installation in your
account.

> I poked around in my Python install and found a folder "distutils" in 
> Python-2.1.1/Lib that contained a file core.py, but that doesn't seem 
> right (shouldn't it be in the Modules folder?).

Lib/distutils is exactly right. However, this indicates that you did
*not* install Python in your account: You merely unpacked it. Please
read the README file in the Python distribution about installing
Python.

Regards,
Martin