After installing Python3.6.4, use the command pip there is a problem, suggesting that not ssl module, an error as follows:
. Pip IS the Configured with locations that The require TLS / SSL, HOWEVER IS at The ssl Python Module not in the Available
Could not the URL of FETCH HTTPS: *******: There WAS A problem Confirming at the ssl Certificate:
of Can not Connect to HTTPS Because the URL of the Available at the SSL Module IS not - skipping.
access to information that, in ./configure process, if there is no increase when the parameter -with-ssl, related to software, the default installation is not available ssl,
just pip3 process requires ssl module, but because there is no specified, so the function is not available.
-
View openssl installation package, are missing openssl-devel package
[root @ localhost ~] # RPM -aq | grep openssl
openssl-0.9.8e-20.el5
openssl-0.9.8e-20.el5
[root @ localhost ~] # -
devel-yum install OpenSSL
[root @ localhost ~] # yum -y install OpenSSL-devel
see the installation results
[root @ localhost ~] # RPM -aq | grep OpenSSL
OpenSSL-0.9.8e-26.el5_9.1
OpenSSL-0.9. 26.el5_9.1-8E
OpenSSL-devel-0.9.8e-26.el5_9.1
OpenSSL-devel-0.9.8e-26.el5_9.1 -
Re-compile python3.6 installed to achieve the compiler installation about the process:
// to your installation directory python decompression
cd /usr/python/Python3.X
./configure --with-ssl
make
sudo make install