擅长:python、mysql、java
<p>我从服务器故障中找到了答案</p>
<p><a href="https://serverfault.com/questions/235981/installing-libcurl-7-19-on-centos5">https://serverfault.com/questions/235981/installing-libcurl-7-19-on-centos5</a></p>
<p>我想出来了。对任何可能对这里感兴趣的人来说,我就是这么做的。在</p>
<ol>
<li><p>按照这里的说明,在另一个目录(我使用了/opt/curl)中构建所需的curl/libcurl版本
<a href="http://markus.revti.com/2009/12/install-rtorrent-using-curl-in-different-path-on-centos-linux/" rel="nofollow noreferrer">http://markus.revti.com/2009/12/install-rtorrent-using-curl-in-different-path-on-centos-linux/</a></p></li>
<li><p>在这里获取适当libcurl版本的pycurl源代码<a href="http://pycurl.sourceforge.net/download/" rel="nofollow noreferrer">http://pycurl.sourceforge.net/download/</a></p></li>
<li><p>跑设置.py告诉它根据你的替代libcurl,即。
Python26设置.pyinstall--curl config=/opt/curl/bin/curl config</p></li>
</ol>