yum 出现如下错误:
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
找了N多办法都无法解决
现在将解决办法记录下来
首先安装 python 的 pip 工具 https://pypi.python.org/pypi/pip/1.4.1
tar zxvf pip-1.4.1.tar.gz
cd pip-1.4.1
python setup.py install
然后再安装 python-devel 包,系统自己选 http://rpmfind.net/linux/rpm2html/search.php?query=python-devel
rpm -ivh python-devel-2.7.5-16.el7.x86_64.rpm
安装完毕
卸载pycurl
pip uninstall pycurl
export PYCURL_SSL_LIBRARY=openssl
再次安装pycurl
pip install pycurl
再次运行 yum 正常了