# background
Pip install pytest is found after installing PIP, prompting for the following error
inch Python is not available.
# solution
Query the data, probably means that the new version of the PIP default to use SSL, can be modified by setting, but the wood has found pip.conf file where, 囧rz, follow-up study
But find another solution.
Install Openssl-dev First, and then recompile the installation, just add it during the compilation process--enable-optimizations
Specific as follows:
sudo Yum install openssl-Dev and then:. /configure--enable-Optimizationsmake make andinstall
It's going to be all right.
Actually, there are a lot of solutions.
1. Modify Pip.conf
2. Modify the Setup file under module in the installation directory
3. After installing OpenSSL, add--enable-optimizations at compile time
PIP is configured with locations that require TLS/SSL and however the SSL module in Python are not available.