安裝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
什么原因?怎么解決?
2016-06-05
我的這樣就好了,什么原因沒搞清楚,反正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
2016-06-03
先卸載