libxml2 errors

Tim Cronin tim at 13-colonies.com
Mon Mar 1 03:21:40 UTC 2004


 

-----Original Message-----
From: Tim Cronin
To: 'fedora-test-list at redhat.com'
Sent: 2/29/04 8:37 PM
Subject: libxml2 errors

i tied to update from core 1 to test 1.90 and I got the following
failures with yum.

Traceback (most recent call last):
  File "/usr/bin/yum", line 22, in ?
    import yummain
  File "/usr/share/yum/yummain.py", line 30, in ?
    import yumcomps
  File "/usr/share/yum/yumcomps.py", line 4, in ?
    import comps
  File "/usr/share/yum/comps.py", line 5, in ?
    import libxml2
ImportError: No module named libxml2

The libxml2-python-2.6.6-3 and libxml2-2.6.6-3 rpms are installed.

i found the module at
[root at fedora root]# find / -name libxml2.py -print
/usr/lib/python2.2/site-packages/libxml2.py

I added the path to PYTHONPATH

then I get the following error.
[root at fedora root]# yum
/usr/lib/python2.2/site-packages/libxml2.py:1: RuntimeWarning: Python C
API version mismatch for module libxml2mod: This Python has API version
1012, module lib
xml2mod has version 1011.
  import libxml2mod







More information about the fedora-test-list mailing list