源碼安裝python3.6b4後出現pip沒法安裝軟件

安裝第三方包時提示: 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

相關文章
相關標籤/搜索