Installing pycurl on mac

瘦欲@ 提交于 2019-12-30 06:46:26

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!