指教,关于错误undefined symbol: PyUnicodeUCS4_FromEncodedObject

215 views
Skip to first unread message

Birkoff

unread,
May 31, 2010, 12:52:45 AM5/31/10
to ZPyUG~珠三角地区Python用户组
1:系统ubuntu 9.04
2:装了stackless和lxml

问题,在vim下面编辑调试完全正常,在netbeans下面就不行,提示错误如下,各位有没有解决的办法,请帮帮忙:)

Traceback (most recent call last):
File "/home/ads8/NetBeansProjects/stackless/src/stackless.py", line
9, in <module>
from lxml.html import fromstring, tostring
File "/usr/local/lib/python2.6/dist-packages/lxml-2.2.6-py2.6-linux-
i686.egg/lxml/html/__init__.py", line 12, in <module>
from lxml import etree
ImportError: /usr/local/lib/python2.6/dist-packages/lxml-2.2.6-py2.6-
linux-i686.egg/lxml/etree.so: undefined symbol:
PyUnicodeUCS4_FromEncodedObject
Reply all
Reply to author
Forward
0 new messages