12

Python2.6 の Windows に pycurl をインストールできません。次のエラーを取得:

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

このエラーの内容とこれを修正する方法はありますか?

4

5 に答える 5

29

Andelf の回答は私の Win 7 x64 マシンでは機能しませんでしたが、Christoph Gohlke のサイトには私に適したパッケージがあります。

于 2010-09-28T21:12:00.970 に答える
3

http://wiki.woodpecker.org.cn/moin/PyCurl?action=AttachFile&do=view&target=pycurl-7.20.1-bin-win32-py26.zip

それを解凍し、すべてをサイトパッケージにコピーします:)

于 2010-04-22T10:32:29.333 に答える
2

提供されている win32 固有のバイナリを介して Windows に pyCURL をインストールします。

于 2009-10-17T18:17:53.447 に答える
2

ここにURLがあります、

このサイトのパッケージは岩http://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurlです

于 2013-07-27T05:45:18.457 に答える
0

I built pycurl without ssl today for urlgrabber 3.9 and it worked. the dir i used was c:\Pycurl-7.19.0 and same as --curl-dir ,as given CURL_DIR in setup.py, but with fresh compiled libcurl.lib from sources using vc express 08, inside the dir in respective places ie it needs some include files also. try running after the step above for the next err or just check setup.py.

于 2009-10-18T19:10:47.897 に答える