user1029811
user1029811

Reputation: 21

PyUnicodeUCS4_FromEncodedObject Error

I'm getting this error:

ImportError: /usr/lib/python2.3/site-packages/rhpl/_pjac.so: undefined
symbol: PyUnicodeUCS4_FromEncodedObject

I am using the Python version 2.7.

Well, all apps don't produce same error but similar errors. All undefined symbols start with PyUnicodeUCS4.

What is wrong?

Upvotes: 2

Views: 4011

Answers (1)

dlite922
dlite922

Reputation: 1994

Since this answer was the still the on google front page for this error, I'll post something that worked for me when

from lxml import etree

produced an error message undefined symbol: "PyUnicodeUCS4_FromEncodedObject" when on a compiled-from-source python 2.7.13

I reconfigured with the following flag

./configure --enable-unicode=ucs4

The error went away for me. Hope that helps someone else!

Upvotes: 3

Related Questions