pip手动安装get-pip.py下载

PyPI 镜像使用帮助

阿里:https://developer.aliyun.com/mirror/pypi/
清华:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
网易163:https://mirrors.163.com/.help/pypi.html
华为:https://mirrors.huaweicloud.com/home


pypi 源列表(校园网联合镜像站):

https://mirrors.cernet.edu.cn/list/pypi


一、官方get-pip.py(适合3.7及以上使用)

https://bootstrap.pypa.io/pip/get-pip.py
文件镜像:https://files.cnblogs.com/files/wutou/get-pip.zip (大小:2.4M 更新时间:2023-07-22)

其他版本,访问 https://bootstrap.pypa.io/pip/ 寻找


二、国内镜像源get-pip.py(适合3.7及以上使用)

阿里:http://mirrors.aliyun.com/pypi/get-pip.py

其他版本,访问 http://mirrors.aliyun.com/pypi/ 寻找


三、注意,如果下载文件过程总是断开,那么考虑更换镜像源

(建议只写一个镜像源,写多个也会出现问题,最后又去访问国外的源,)
image

阿里云,源添加方法:
https://developer.aliyun.com/mirror/pypi/?spm=a2c6h.25603864.0.0.4add5992YkCDW2


四、安装成功后,手动把pip路径添加到环境变量中

image


默认安装pip在Scripts文件夹下,Scripts和python.exe同级目录
手动执行 get-pip.py 后,安装到 DLLs\Scripts 文件夹下,DLLs和python.exe同级目录


添加环境变量:
https://www.cnblogs.com/wutou/p/17709841.html






免责声明:本号所涉及内容仅供安全研究与教学使用,如出现其他风险,后果自负。




参考、来源:



posted @ 2023-09-19 22:35  悟透  阅读(2497)  评论(0编辑  收藏  举报