pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https:*******: There was a problem confirming the ssl certificate:
Can't connect to HTTPS URL because the SSL module is not available. - skipping
sudo apt-get install openssl
sudo apt-get install libssl-dev
cd Python-3.6.2
./configure --with-ssl --enable-optimizations
make
make install
在python下能import ssl证明安装成功