Python3 Import Error with pycurl Mac OS X

I have installed pycurl via pip on OS X 10.9. When I run python file with import pycurl python tells me next error:

ImportError: dlopen(/usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pycurl.so, 2): Symbol not found: _PyFile_AsFile Referenced from: /usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pycurl.so Expected in: flat namespace in /usr/local/Cellar/python3/3.3.2/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pycurl.so

UPD: python3 installed via brew

链接地址: http://www.djcxy.com/p/72004.html

上一篇: 安装Python 3.3的opencv

下一篇: Python3导入错误与pycurl Mac OS X