问题
I am very new to python and need help installing the pycurl library on my machine. I am running python 2.7 at the moment. A brief tutorial would be much appreciated.
回答1:
Use one of the two methods
Method 1: sudo easy_install pycurl
Method 2: pip install pycurl
回答2:
Try specify the ARCHFLAGS
env var:
ARCHFLAGS="-arch x86_64" pip install pycurl==7.19.5.1
来源:https://stackoverflow.com/questions/21521587/installing-pycurl-on-mac