为了账号安全,请及时绑定邮箱和手机立即绑定

安装lnmp一键安装包失败,之后运行yum命令报错


[root@CentOS ~]# yum list

There was a problem importing one of the Python modules

required to run yum. The error leading to this problem was:


   /usr/lib/python2.6/site-packages/pycurl.so: undefined symbol: CRYPTO_set_locking_callback


Please install a package which provides this module, or

verify that the module is installed correctly.


It's possible that the above module doesn't match the

current version of Python, which is:

2.6.6 (r266:84292, Jul 23 2015, 14:41:34) 

[GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]


If you cannot solve this problem yourself, please go to 

the yum faq at:

  http://yum.baseurl.org/wiki/Faq

什么原因?怎么解决?


正在回答

2 回答

我的这样就好了,什么原因没搞清楚,反正yum 可以用了

下载pycurl,可以直接使用名命令下载,也可以先下载,在用WinSCP放进去。

wget https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.0.tar.gz

tar -xf pycurl-7.19.0.tar.gz

cd pycurl-7.19.0

0 回复 有任何疑惑可以回复我~
#1

慕妹602489

是需要安装pycurl么
2020-04-01 回复 有任何疑惑可以回复我~

先卸载

0 回复 有任何疑惑可以回复我~
#1

慕妹602489

卸载什么?
2020-04-01 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

安装lnmp一键安装包失败,之后运行yum命令报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信