Python 2.4 unable to find module.

Fredrik Lundh fredrik at pythonware.com
Mon Feb 14 17:31:38 EST 2005


<mfjacobs at gmail.com> wrote:

> Python built and installed fine.  PyXML built and installed with no
> complaining but, when I give the commands below it cannot find the
> module.
>
> Obviously Iam missing somehting.  Do you have any suggestions where to
> look for "pathing", Security or permissions problems?

did you use the Python you just built when installing PyXML?  (if you used
a different version, PyXML was probably installed somewhere else)

try running

    $ python -v -v -c "from xml.dom.ext.reader import Sax2"

and check that Python looks for the ext.reader where you expect it to be
(if you're not sure where PyXML installed itself, run the installation script
again and check the output carefully)

</F> 






More information about the Python-list mailing list