Python console: ImportError PyUnicodeUCS4_FromString

限于喜欢 提交于 2019-12-24 15:39:37

问题


Can anyone help me to figure out what is happening and how to solve this error?

The following message happens when I try to import a module I compiled before:

Python 3.1.4 (default, Mar  8 2012, 09:13:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pypt
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /usr/local/lib/python3.1/site-packages/pypt.so: undefined symbol: PyUnicodeUCS4_FromString

来源:https://stackoverflow.com/questions/12805044/python-console-importerror-pyunicodeucs4-fromstring

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!