报错:pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
从报错中可以看到,需要SSL,原因是你装Pyhton的这个linux上,没有装openssl-devle
解决:
# yum install openssl-devel -y
在重新编译安装Python
# ./configure --prefix=/usr/local/python/ --with-ssl
# make && make install
这样就可以了。