安装第三方包时提示: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting bottle Could not fetch URL https://pypi.python.org/simple/bottle/: 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 purge python-openssl $ sudo apt-get install libffi-dev $ sudo pip install pyOpenSSL 若是还不行,就从新编译 ./configure --with-ensurepip=install --enable-optimizationspython