在pypy5.6上安装confluent_kafka时,报错:undefined symbol PyUnicode_FromFormat Error,我不知道它是怎么发生的?</p>
操作系统是:CentOs5.6
完整的错误输出是:
Python 2.7.12 (aff251e543859ce4508159dd9f1a82a2f553de00, Nov 12 2016, 08:50:18)
[PyPy 5.6.0 with GCC 6.2.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import confluent_kafka
Traceback(最近一次调用最后一次):文件“”,第 1 行,在文件“/usr/local/pypy/site-packages/confluent_kafka/ init .py”中,第 2 行,从 .cimpl 导入 * ImportError:无法加载扩展模块'/usr/local/pypy/site-packages/confluent_kafka/cimpl.pypy-41.so':/usr/local/pypy/site-packages/confluent_kafka/cimpl.pypy-41.so:未定义符号:PyUnicode_FromFormat
我该如何解决这个问题?