pycurl installation on Windows

Vijayendra Bapte picture Vijayendra Bapte · Oct 17, 2009 · Viewed 22.8k times · Source

I am not able to install pycurl on Windows on Python2.6. Getting following error:

C:\Documents and Settings\vijayendra\Desktop\Downloads\pycurl-7.19.0>python setup.py install --curl-dir="C:\Documents and Settings\vijayendra\Desktop\Downloads\
curl-7.19.5-win32-ssl\curl-7.19.5"
Using curl directory: C:\Documents and Settings\vijayendra\Desktop\Downloads\curl-7.19.5-win32-ssl\curl-7.19.5
Traceback (most recent call last):
  File "setup.py", line 210, in <module>
    assert os.path.isfile(o), o
AssertionError: C:\Documents and Settings\vijayendra\Desktop\Downloads\curl-7.19.5-win32-ssl\curl-7.19.5\lib\libcurl.lib

Any idea what is this error about and how to fix this?

Answer

RossFabricant picture RossFabricant · Sep 28, 2010

Andelf's answer didn't work on my Win 7 x64 machine, but Christoph Gohlke's site has a package that works for me.