Another q regarding expat

Rajarshi Guha rxg218 at psu.edu
Thu Oct 4 10:39:49 EDT 2001


I found an expat rpm and installed. However when I now enter:

>>> import xml.parsers.expat
/usr/lib/python2.2/pyexpat.py:85: RuntimeWarning: Python C API version 
mismatch for module dcpyexpat: This Python has API version 1011, module 
dcpyexpat has version 1010.
  from dcpyexpat import *

>>> import SOAP      

>>> s = 
SOAP.SOAPProxy("http://services.xmethods.net/soap/servlet/rpcrouter",namespace="urn:xmethods-Temperature")
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "./SOAP.py", line 3475, in __init__
    ''.encode(encoding)
  File 
"/usr/src/build/42396-i386/install/usr/lib/python2.2/encodings/__init__.py", 
line 31, in ?
  File "/usr/lib/python2.2/codecs.py", line 17, in ?
    raise SystemError,\
SystemError: Failed to load the builtin codecs: undefined symbol: 
PyUnicode_DecodeRawUnicodeEscape

I get the mess above! I've noticed similar errors with other packages 
(especially pygtk) - how can I fix version mismatches?

The second error seems more involved? I have expat installed - am I missing 
any extra files?

Any help would be appreciated!

TIA
-- 
-----------------------------------------------------------------
Rajarshi Guha                  | email: rajarshi at presidency.com
Dept of Chemistry              | web  : www.rajarshi.f2s.com 
Pennsylvania State University  | ph   : (814) 863 1222
-----------------------------------------------------------------
Build a system that even a fool can use and only a fool will want to use it.



More information about the Python-list mailing list