python安装pip install报错Could not fetch URL https://pypi.org/simple/pip/...更换镜像源

一. 现象

pycharm使用 pip install xxx安装包时,一直报错:

WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=No
ne)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation
 of protocol (_ssl.c:1123)'))': /simple/flask/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=No
ne)) after connection broken by 'SSLError(SSLEOFError(8, 'EOF occurred in violation
 of protocol (_ssl.c:1123)'))': /simple/flask/
ERROR: Could not find a version that satisfies the requirement xxx (from versions
: none)
ERROR: No matching distribution found for xxx
C
posted @ 2023-11-15 12:12  坦笑&&life  阅读(30)  评论(0编辑  收藏  举报  来源