在Cent0S 7.5下将Python 2.7.5升级到Python 3.6.6后,发现ssl模块不可用,具体详细信息如下所示: [root@db-server ~]# pip list Package Version ---------- ------- pip 19.2.3 setuptools 39.0.1 WARNING: pip is configured with locations that require TLS/SSL, however the ssl mo…
升级python版本号后,执行yum # yum -y install openssl 提演示样例如以下: There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named yum Please install a package which provides this module, or v…