curl-and-python
RE: what version of python?
Date: Mon, 21 Jun 2004 17:19:25 -0400
Followed these instructions and I get the following error:
import pycurl
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libcurl.so.2: cannot open shared object file: No such file or
directory
This seems to be related to the fact that it built the libraries as,
libcurl.so.3 and not libcurl.so.2 as pycurl seems to have been expecting.
What could I be doing wrong here?
Thanks,
Jeff
> You should run the same version of Pycurl as Curl - generally the
> release are in sync with one another. Ie: curl-7.12 and pycurl 7.12. In
> order to upgrade pycurl, you will need to download the latest pycurl
> tarball:
>
> http://pycurl.sourceforge.net/download/pycurl-7.12.tar.gz
>
> Once downloaded, you should untar that file. Run:
>
> python setup.py install in the directory that was expanded. This will
> install pycurl.
>
> However - if you compiled curl by hand, and did not set --prefix=/usr,
> the pycurl installation will not work properly, as it will be unable to
> find the curl libraries to link against.
>
> -jesse
_______________________________________________
http://cool.haxx.se/mailman/listinfo/curl-and-python
Received on 2004-06-21