- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我刚刚在新的 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/
我正在使用 Apple 的 EPFImporter 工具 http://www.apple.com/itunes/affiliates/resources/documentation/epfimpor
我刚刚在新的 Centos 6.6 服务器上安装了 python,因此我可以从 iTunes 运行 EPFImporter。然后我在命令行上运行命令:./EPFImporter/EPFImporter
我是一名优秀的程序员,十分优秀!