gpt4 book ai didi

python - 来自 Itunes 的 EPFImporter 显示 undefined symbol : _PyObject_NextNotImplemented after just installing and running

转载 作者:太空宇宙 更新时间:2023-11-03 17:24:26 25 4
gpt4 key购买 nike

我刚刚在新的 Centos 6.6 服务器上安装了 python,因此我可以从 iTunes 运行 EPFImporter。然后我在命令行上运行命令:./EPFImporter/EPFImporter.py -D mysql itunes20141208

我不确定这是否有帮助,但这些是安装在服务器上的版本: python 2.6.6Centos6.6来自/usr/local/lib/python2.7/site-packages (python 2.7) 的 pip 1.5.6

以前有人遇到过这个错误吗?

Traceback (most recent call last):
File "/root/EPFImporter/EPFImporter.py", line 43, in <module>
import EPFIngester
File "/root/EPFImporter/EPFIngester.py", line 40, in <module>
import psycopg2
File "/usr/local/lib/python2.7/site-packages/psycopg2/__init__.py", line 50, in <module>
from psycopg2._psycopg import BINARY, NUMBER, STRING, DATETIME, ROWID
ImportError: /usr/local/lib/python2.7/site-packages/psycopg2/_psycopg.so: undefined symbol: _PyObject_NextNotImplemented

最佳答案

可能是您的库不匹配:如果您查看 psycopg documents ,它说:

Note The libpq header files used to compile psycopg2 should match the version of the library linked at runtime. If you get errors about missing or mismatching libraries when importing psycopg2 check (e.g. using ldd) if the module psycopg2/_psycopg.so is linked to the right libpq.so.

关于python - 来自 Itunes 的 EPFImporter 显示 undefined symbol : _PyObject_NextNotImplemented after just installing and running,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27586180/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com