pipインストールサードパーティライブラリレポートpip is configured with locations that require TLS/SSL,however the ssl module in.....
850 ワード
pipインストールサードパーティ製ライブラリレポートpip is configured with locations that require TLS/SSL、however the ssl module in python is not availableこれは./configureプロセスで–with-sslパラメータが追加されていない場合、デフォルトでインストールされているソフトウェアはsslに関連する機能が使用できません.pip 3プロセスではsslモジュールが必要ですが、指定されていないため、この機能は使用できません.
ソリューションは次のとおりです.
1.opensslインストールパッケージを表示します.openssl-develパッケージが見つかりません.
2.yum openssl-develのインストール
3.pythonの再コンパイルインストール
ありがとうございます
ソリューションは次のとおりです.
1.opensslインストールパッケージを表示します.openssl-develパッケージが見つかりません.
: rpm -aq|grep openssl
[root@localhost ~]# rpm -aq|grep openssl
openssl-0.9.8e-20.el5
openssl-0.9.8e-20.el5
2.yum openssl-develのインストール
yum install openssl-devel -y
:
rpm -aq|grep openssl
openssl-devel-0.9.8e-26.el5_9.1。。。。
3.pythonの再コンパイルインストール
cd Python-3.6.4
./configure --with-ssl
make
sudo make install
ありがとうございます