美文网首页
pip3 +python3.7 解决There was a p

pip3 +python3.7 解决There was a p

作者: 孤独又可爱的虎虎 | 来源:发表于2018-12-04 15:05 被阅读0次
    Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/beautifulsoup4/
      Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/beautifulsoup4/
      Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/beautifulsoup4/
      Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/beautifulsoup4/
      Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))': /simple/beautifulsoup4/
      Could not fetch URL https://pypi.org/simple/beautifulsoup4/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/beautifulsoup4/ (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])"))) - skipping
      Could not find a version that satisfies the requirement beautifulsoup4 (from versions: )
    No matching distribution found for beautifulsoup4
    

    安装beautifulsoup4报错,吐血

    找了无数个解决办法,差点卸载python3.7安装3.6
    最后国内镜像解决了==

    pip3 install beautifulsoup4 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com
    
    

    参考:
    https://blog.csdn.net/chr1341901410/article/details/80995451

    相关文章

      网友评论

          本文标题:pip3 +python3.7 解决There was a p

          本文链接:https://www.haomeiwen.com/subject/czgmcqtx.html