如何解决RHEL 7.2 ptyhong 3.6,python 2.7-SL模块不可用
我正在使用Linux服务器。Red Hat Enterprise Linux Server版本7.2(Maipo)带有Python 2.7和必需的ssl软件包,并且运行良好。
现在我正在尝试安装Python 3.6,我尝试了以下步骤并安装了python 3.6和pip3.6,问题是pip3.6无法安装任何软件包,因为它引发了错误
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org',port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.",)) - skipping
我过去制作python 3.6的步骤
tar xf Python-3.6.3.tar.xz
cd Python-3.6.3
./configure --prefix=/usr/local --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib"
make && make altinstall```
I tried to install openssl-devel with yum install openssl-devel I got the below error
Error: Package: openssl-devel-1.0.1e-57.el6.x86_64 (centos)
Requires: openssl = 1.0.1e-57.el6
Error: Package: glibc-2.12-1.212.el6.i686 (centos)
Requires: glibc-common = 2.12-1.212.el6
Installed: glibc-common-2.17-105.el7.x86_64 (@anaconda/7.2)
glibc-common = 2.17-105.el7
Available: glibc-common-2.12-1.212.el6.x86_64 (centos)
glibc-common = 2.12-1.212.el6
Anybody came through issues? Please suggest any fix.
Thanks in advance.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。