5

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.

user3264845
  • 51
  • 1
  • 1
  • 3

2 Answers2

12

Use one of the two methods

Method 1: sudo easy_install pycurl

Method 2: pip install pycurl

Mysterio Man
  • 1,667
  • 1
  • 14
  • 17
3

Try specify the ARCHFLAGS env var:

ARCHFLAGS="-arch x86_64" pip install pycurl==7.19.5.1
Vladimir
  • 338
  • 7
  • 18