How can I install pyCurl? How can I install pyCurl? python python

How can I install pyCurl?


TL,DR

Get a binary from this website: http://www.lfd.uci.edu/~gohlke/pythonlibs/

Direct links: 2.6 32bit, 2.7 32bit,2.6 64bit, 2.7 64bit


For pycURL, both pip and easy_install will fail on Windows.

I also tried to download and install the pycURL package manually, afterdownloading cURL, but that didn't work either, even if specifying theCURL_DIR ( it complained that it cannot find 'lib\libcurl.lib' ). From whatI can gather from the README, what it needs in the CURL_DIR is the sourcedistribution of cURL, not the executable.

Downloading the precompiled version from the official pycURLrepository will probably get younowhere, because it requires Python 2.5. It will not work with 2.6.

The only easy way at the moment seems to bethisunofficial release. It an executable installer, and I have used it without anyissues with Python 2.6. A version for Python2.7is available from the same site.


You might also want to consider using requests, a popular alternative to pycURL. It's a pleasure to use, and is actively developed.


You can try to download pycurl from here

http://www.lfd.uci.edu/~gohlke/pythonlibs/

PycURL is a interface to the libcurl library.
pycurl-7.19.0.win-amd64-py2.6.‌exe [863 KB] [Python 2.6] [64 bit] [Dec 09, 2010]
pycurl-7.19.0.win-amd64-py2.7.‌exe [863 KB] [Python 2.7] [64 bit] [Dec 09, 2010]
pycurl-7.19.0.win32-py2.6.‌exe [764 KB] [Python 2.6] [32 bit] [Dec 09, 2010]
pycurl-7.19.0.win32-py2.7.‌exe [764 KB] [Python 2.7] [32 bit] [Dec 09, 2010]

or here

http://pycurl.sourceforge.net/download/

pycurl-ssl-7.15.5.1.win32-py2.4.exe 02-Oct-2006 10:10 534K precompiled win32 installer (with openssl-0.9.8c, zlib-1.2.3, c-ares-1.3.1)
pycurl-ssl-7.15.5.1.win32-py2.5.exe 02-Oct-2006 10:10 534K precompiled win32 installer (with openssl-0.9.8c, zlib-1.2.3, c-ares-1.3.1)
pycurl-ssl-7.16.4.win32-py2.4.exe 05-Sep-2007 19:28 546K precompiled win32 installer (with openssl-0.9.8e, zlib-1.2.3, c-ares-1.4.0)
pycurl-ssl-7.16.4.win32-py2.5.exe 05-Sep-2007 19:27 546K precompiled win32 installer (with openssl-0.9.8e, zlib-1.2.3, c-ares-1.4.0)
pycurl-ssl-7.18.2.win32-py2.5.exe 17-Jun-2008 20:43 540K precompiled win32 installer (with openssl-0.9.8h, zlib-1.2.3)


Depends on platform. Here on ubuntu it's as simple as:

sudo apt-get install python-pycurl

It's common enough a package to think that most major Linux distributions will have it in their sources.

If you're on windows, you'll need cURL too. Then you can install pycurl which comes wrapped in an installer.