使用pycurl Mac OS X进行Python3导入错误

时间:2013-12-18 22:35:33

标签: python homebrew

我在OS X 10.9上通过pycurl安装了pip。当我用import pycurl运行python文件时,python告诉我下一个错误:

  

导入错误:   dlopen的(/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pycurl.so,   2):找不到符号:_PyFile_AsFile引用自:   /usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pycurl.so   预计在:平面命名空间中   /usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pycurl.so

UPD:python3通过brew

安装

0 个答案:

没有答案