Install pycurl on mac

I am very new to python and I need help installing the pycurl library on my machine. I am currently running python 2.7. A short tutorial will be highly appreciated.

+4
source share
2 answers

Use one of two methods.

Method 1: sudo easy_install pycurl

Method 2: pip install pycurl

+11
source

Try specifying ARCHFLAGSenv var:

ARCHFLAGS="-arch x86_64" pip install pycurl==7.19.5.1
+1
source

Source: https://habr.com/ru/post/1525004/


All Articles