解决Python中pip安装和升级失败的常见问题和解决方案
C:\Users\Administrator>python -m pip install –upgrade pip
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pip
ERROR: HTTP error 403 while getting https://pypi.tuna.tsinghua.edu.cn/packages
/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pip-24.0-py3
-none-any.whl#sha256=ba0d021a166865d2265246961bec0152ff124de910c5cc39f1156ce3fa7
c69dc (from https://pypi.tuna.tsinghua.edu.cn/simple/pip/) (requires-python:>=3.
7)
ERROR: Could not install requirement pip from https://pypi.tuna.tsinghua.edu.c
n/packages/8a/6a/19e9fe04fca059ccf770861c7d5721ab4c2aebc539889e97c7977528a53b/pi
p-24.0-py3-none-any.whl#sha256=ba0d021a166865d2265246961bec0152ff124de910c5cc39f
作者:svygh123