当我尝试在 python 中导入 lxml 包时收到以下错误。
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/lxml/html/__init__.py", line 42, in <module>
from lxml import etree
ImportError: /usr/lib/python2.7/dist-packages/lxml/etree.so: undefined symbol: PyUnicodeUCS4_DecodeLatin1
请帮助修复此问题。
(Python 版本 ->2.7.5)