pycurl和curl和版本不匹配问题

因为用pip安装curl时出了点问题,直接下载源码安装。

调用的时候出以下错:

 

ImportError: pycurl: libcurl link-time version (7.19.7) is older than compile-time version (7.20.0)

太久不配服务器了,到处都是坑。。。

解决方法:

 

rpm -Uvh http://www.city-fan.org/ftp/contrib/yum-repo/city-fan.org-release-1-12.rhel6.noarch.rpm
yum install libcurl

来源:https://gogo244.wordpress.com/2014/09/25/libcurl-link-time-version-is-older-than-compile-time-version/

For example, "name@something.com". If someone replies to you it will be via email.
For example, "http://someaddress.com"