python常用pip安装源网址

平时pip安装偶尔会下载速度过慢

可以使用以下网站进行下载

豆瓣:http://pypi.douban.com/simple/

清华大学:https://pypi.tuna.tsinghua.edu.cn/simple/

中国科技大学:https://pypi.mirrors.ustc.edu.cn/simple/

阿里云:https://mirrors.aliyun.com/pypi/simple/

百度:https://mirror.baidu.com/pypi/simple

假设我们需要安装名为numpy的Python包。

使用默认源安装numpy

复制代码
pip install numpy

使用清华大学镜像源,重新安装numpy

复制代码
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ numpy
或者
pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
相关推荐
机器学习之心24 分钟前
小波增强型KAN网络 + SHAP可解释性分析(Pytorch实现)
人工智能·pytorch·python·kan网络
JavaEdge在掘金30 分钟前
MySQL 8.0 的隐藏索引:索引管理的利器,还是性能陷阱?
python
站大爷IP42 分钟前
Python办公自动化实战:手把手教你打造智能邮件发送工具
python
chao_7891 小时前
回溯题解——子集【LeetCode】二进制枚举法
开发语言·数据结构·python·算法·leetcode
zdw1 小时前
fit parse解析佳明.fit 运动数据,模仿zwift数据展示
python
剑桥折刀s2 小时前
Python打卡:Day46
python
巴里巴气2 小时前
Python爬虫图片验证码和滑块验证码识别总结
爬虫·python
尘世闲鱼3 小时前
解数独(C++版本)
开发语言·c++·算法·解数独
sword devil9003 小时前
PYQT实战:智能家居中控
python·智能家居·pyqt
NetX行者3 小时前
FastMCP:用于构建MCP服务器的开源Python框架
服务器·python·开源