curl-and-python

Re: initializing curl failed

From: SamG <samg_pub_at_yahoo.fr>
Date: Fri, 01 Oct 2004 23:30:39 +0200

Daniel Stenberg wrote:

> I figure the command line tool curl says the same? What OpenSSL
> version are you using?

I have install the OpenSSL library and cURL, and here the result :

C:\>curl_ssl -k https://linuxfr.org
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
.......

C:\>python.exe
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on
win32
>>> import pycurl
>>> print pycurl.version
libcurl/7.12.1 OpenSSL/0.9.7d zlib/1.2.1.1 c-ares/1.2.0 libidn/0.5.4
>>> a = pycurl.Curl()
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
pycurl.error: initializing curl failed
>>>

I uninstall the SSL version of pycurl and i install the non SSL version :
C:\>python.exe
Python 2.3.4 (#53, May 25 2004, 21:17:02) [MSC v.1200 32 bit (Intel)] on
win32
>>> import pycurl
>>> print pycurl.version
libcurl/7.12.1
>>> a = pycurl.Curl()
>>>

It seems there is a problem with the SSL version of PyCurl or .....

_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2004-10-01