擅长:python、mysql、java
<p>我对CentOS没有特别的经验,但一般来说,除非您有非常特殊的需要,否则您应该始终使用系统的包管理器来安装程序。包管理器使安装/卸载变得轻而易举,更重要的是,它简化了安全更新的管理,避免了升级操作系统时的破坏。在</p>
<p>在你的情况下,我相信包经理是百胜。可能pyos的curl包中有一些类似于curl的函数,但我想它可能是pyos的一个相关函数。因此</p>
<pre><code>yum install python-pycurl
</code></pre>
<p>是安装PyCURL的首选方法。在</p>