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