vincent's Blog

一個無聊的網路雜工的紀錄!!





yum install -y wget
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)

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.7.5 (default, Nov 20 2015, 02:00:19)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-4)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://yum.baseurl.org/wiki/Faq

## solution
pip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
pip install pycurl



0 意見

張貼留言

Categories

追蹤者

Change Language

Your Source