Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
2017-07-10 12:53
926 查看
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
centos7.0以上系统yum是依赖于python的。
yum安装某个软件有时会遇到如下错误:
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
修复pycurl后可以解决。
首先安装 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软件找不到setuptools的解决方案
下载:http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
执行:
sh setuptools-0.6c11-py2.7.egg
安装完setuptools后,就能再次使用
然后再安装 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 正常了
centos7.0以上系统yum是依赖于python的。
yum安装某个软件有时会遇到如下错误:
Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
修复pycurl后可以解决。
首先安装 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软件找不到setuptools的解决方案
下载:http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
执行:
sh setuptools-0.6c11-py2.7.egg
安装完setuptools后,就能再次使用
然后再安装 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 正常了
相关文章推荐
- Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
- Fatal Python error: pycurl: libcurl link-time version is older than compile-time version
- Centos进行yum报FatalPythonerror:pycurl: libcurl link-time version is older than compile-time version
- 20170319 - pycurl 提示 libcurl link-time version is older than compile-time version
- ImportError: pycurl: libcurl link-time version (7.19.7) is older than compile-time version (7.54.1)
- pycurl: libcurl link-time version (7.19.7) is older than compile-time version (7.24.0)
- link-time version is older than compile-time version
- PycURL: ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl
- pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)
- libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)
- 安装pycurl出现:ImportError: pycurl: libcurl link-time ssl backend (nss)
- python安装软件出现错误 fatal error: 'libxml/xmlversion.h' file not found
- ImportError: pycurl: libcurl link-time ssl backend (openssl)
- LINK : fatal error LNK: cannot open file "uafxcw.lib"的解决方法
- configure: error: newly created file is older than distributed files!
- fatal error LINK 1104:无法打开文件"cvcore.lib" 问题的结果过程。
- Matlab 之 cannot be saved to a MAT-file whose version is older than 7.3
- 编译错误:configure: error: newly created file is older than distributed files!
- configure: error: newly created file is older than distributed files