curl-and-python
Errors when trying to run pycurl
Date: Mon, 13 Jan 2014 13:49:31 -0800 (PST)
When I try to import pycurl, I get an error. I've tried installing the latest released version too, but to no avail. I've tried out all three ssl libraries, but all with the same error on 'import pycurl'
I'm probably doing something very basic wrong, but I'd love to understand what.
here's the install log:
>>> pip install pycurl
Downloading/unpacking pycurl
Running setup.py egg_info for package pycurl
Using curl-config (libcurl 7.32.0)
Installing collected packages: pycurl
Running setup.py install for pycurl
Using curl-config (libcurl 7.32.0)
building 'pycurl' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DPYCURL_VERSION="7.19.3" -DHAVE_CURL_SSL=1 -I/home/victor/sources/pyzo2013c/include/python3.3m -c src/pycurl.c -o build/temp.linux-i686-3.3/src/pycurl.o
src/pycurl.c:151:4: warning: #warning "libcurl was compiled with SSL support, but configure could not determine which " "library was used; thus no SSL crypto locking callbacks will be set, which may " "cause random crashes on SSL requests" [-Wcpp]
src/pycurl.c: In function ‘do_multi_info_read’:
src/pycurl.c:3572:15: warning: call to ‘_curl_easy_getinfo_err_string’ declared with attribute warning: curl_easy_getinfo expects a pointer to char * for this info [enabled by default]
src/pycurl.c: In function ‘do_curl_getinfo’:
src/pycurl.c:2916:19: warning: call to ‘_curl_easy_getinfo_err_curl_slist’ declared with attribute warning: curl_easy_getinfo expects a pointer to struct curl_slist * for this info [enabled by default]
gcc -pthread -shared build/temp.linux-i686-3.3/src/pycurl.o -L/usr/lib/i386-linux-gnu -L/home/almar/pyzo2013c/lib -lcurl -lpython3.3m -o build/lib.linux-i686-3.3/pycurl.cpython-33m.so
Successfully installed pycurl
Cleaning up...
>>> import pycurl
Traceback (most recent call last):
File "<console>", line 1, in <module>
ImportError: pycurl: libcurl link-time ssl backend (gnutls) is different from compile-time ssl backend (none/other)
>>>
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2014-01-13