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

来源:6-1 Linux中脚本安装包(上)

五月三十三

2016-05-27 17:48


[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回答

  • MeTooXiaoShuTong
    2016-06-05 22:30:10

    我的这样就好了,什么原因没搞清楚,反正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

    慕妹6024...

    是需要安装pycurl么

    2020-04-01 18:46:35

    共 1 条回复 >

  • redstonesl
    2016-06-03 07:46:08

    先卸载

    慕妹6024...

    卸载什么?

    2020-04-01 18:47:04

    共 1 条回复 >

Linux软件安装管理

通过本课程了解Linux中的软件如何进行安装、卸载、升级等管理

80161 学习 · 275 问题

查看课程

相似问题