Expat confusion
Cameron Laird
claird at starbase.neosoft.com
Mon May 28 18:18:27 EDT 2001
How do I generate an installation that
import xml.parsers.expat
correctly?
Suppose I'm working on a Unix host, from 2.0 or later
sources. I recognize I need to have expat installed
(what does that mean? Is it something other than having
/usr/local/lib/libexpat.a
/usr/local/bin/xmlwf
/usr/local/bin/gennmtab
?). How do I get the generation procedure to make a
pyexpat.so, though?
The most immediate symptom of my discontent is
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/local/src/Python-2.1/Lib/xml/parsers/expat.py", line 4, in ?
from pyexpat import *
ImportError: No module named pyexpat
when I attempt the import above.
--
Cameron Laird <claird at NeoSoft.com>
Business: http://www.Phaseit.net
Personal: http://starbase.neosoft.com/~claird/home.html
More information about the Python-list
mailing list