PyXML-0.5.4 and Site-Packages

thomas at cintra.no thomas at cintra.no
Sat May 27 13:21:19 EDT 2000


Hi,

I`ve tried to install PyXML-0.5.4 ( actually PyXML-0.5.3 and
python-xml-0.5.1.rpm too with same result ) on my Mandrake 7.0
Linux-box without luck.

No erros during python setup.py build or setup.py install. The
xml-folder has a __init__.py file with the __all__ : .... -line.

When I try to use anything but the xml-folder, like
"from xml.sax import *" 
I get a 
"no module named sax"-error.

Then I tried to add a xml.pth in the site-packages-folder, looking
like :

xml
xml/parsers
xml/sax
xml/unicode
...

No change.

I`ve tried to install this package before without luck. I just gave up
in the end. But now it`s a vital part of a project, not some private
messing around, so I need it to work. 

Is there a way around the site-package method of doing it? 

Any tips, hints?

Thanks.

Thomas



More information about the Python-list mailing list