libxml2 installation/binding issue with Python 3.6.4

Terry Reedy tjreedy at udel.edu
Mon Feb 5 21:37:37 EST 2018


On 2/5/2018 6:11 PM, Priest, Matt wrote:
> Hello,
> 
> I am not sure if this is the correct place to post an issue/question like this, but here goes...
> 
> I've successfully (?) installed Python 3.6.4 and libxml2, with the ultimate goal of installing GTK+ 3.22.0.
> However, I'm running into this error:
> 
> 
> python3
> Python 3.6.4 (default, Feb  5 2018, 13:28:04)
> [GCC 4.7.2] on linux
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import libxml2
> Traceback (most recent call last):
>    File "<stdin>", line 1, in <module>
>    File "/nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/python3.6/site-packages/libxml2.py", line 1, in <module>
>      import libxml2mod
> ImportError: /nfs/sc/disks/slx_1353/mlpriest/sl1/work_root/a0/development/sfwr/lib/python3.6/site-packages/libxml2mod.so: undefined symbol: _PyVerify_fd

I would try re-installing libxml2 *once* and then look for a package 
support list or email.


-- 
Terry Jan Reedy




More information about the Python-list mailing list