Can't install pycurl with pip

mrgloom picture mrgloom · Mar 31, 2014 · Viewed 33.3k times · Source

Can't install pycurl with pip, win xp x32, python 2.7.

here is the log

pip install pycurl
Downloading/unpacking pycurl
  Downloading pycurl-7.19.3.1.tar.gz (116Kb): 116Kb downloaded
  Running setup.py egg_info for package pycurl
    Please specify --curl-dir=/path/to/built/libcurl
    Complete output from command python setup.py egg_info:
    Please specify --curl-dir=/path/to/built/libcurl

----------------------------------------
Command python setup.py egg_info failed with error code 10 in C:\Documents and S
ettings\User\build\pycurl
Storing complete log in C:\Documents and Settings\User\Application Data\pip\pi
p.log

Answer

r0m picture r0m · Nov 20, 2019

Following the steps one mentioned above, solved my problem.

sudo apt install libcurl4-gnutls-dev librtmp-dev

pip install pycurl