Import Error with embedded python

Lane Brooks lbrooks at MIT.EDU
Fri Mar 16 04:34:35 CET 2007

When I run a particular python script from an embedded interpreter, I 
get the following ImportError:

   File "", line 14, in load
     from xml.dom.ext.reader import Sax2
line 14, in ?
     import string, urllib2, urlparse, cStringIO, os
   File "/usr/lib64/python2.4/", line 90, in ?
     import base64
   File "/usr/lib64/python2.4/", line 9, in ?
     import struct
ImportError: /usr/lib64/python2.4/lib-dynload/ undefined 
symbol: PyExc_TypeError

However, running the same script from the command line does not produce 
this error.  Any ideas as to what I need to do to get the embedded 
interpreter setup to not produce this error?

The platform is Linux x86_64.


More information about the Python-list mailing list