当前位置:网站首页>【无标题】
【无标题】
2022-08-04 13:16:00 【Alaso_soso】
装载自: https://blog.csdn.net/luoluo3664/article/details/114843070
国内部分镜像
清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
阿里云 http://mirrors.aliyun.com/pypi/simple/
中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/
豆瓣(douban) http://pypi.douban.com/simple/
下载pip
python -m ensurepip
更新pip方法1
python -m pip install --upgrade pip
更新pip方法2 :使用清华大学镜像
pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple --upgrade pip
下载numpy库(使用镜像下载快)
pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple numpy
下载matplotlib(使用镜像下载快)
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib
安装其它包也可用
pip install -i [镜像源链接] --upgrade packagename
查看当前scipy包的版本:
import scipy as sp
print("Scipy version:{}".format(sp.__version__))
使用镜像下载特定版本,如1.2.1的scipy的操作:
pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple scipy==1.2.1
使用镜像下载cv2:
pip install --index-url https://pypi.tuna.tsinghua.edu.cn/simple opencv-pytho
边栏推荐
猜你喜欢
redis未授权访问漏洞【vulhub靶场】复现
做项目管理有且有必要了解并学习的重要知识--PMP项目管理
代码越写越乱?那是因为你没用责任链!
"Social Enterprises Conducting Civilian Personnel Training Specifications" group standard on the shelves of Xinhua Bookstore
《社会企业开展应聘文职人员培训规范》团体标准在新华书店上架
永磁同步电机FOC驱动代码讲解
nVisual二次开发——第二章 nVisual API操作指南Swagger使用
AutoCAD DWG,DXF文件导出高清图片、PDF
一文梳理NLP主要模型发展脉络
03 多线程与高并发 - ReentrantLock 源码解析
随机推荐
双目立体视觉笔记(二)
绩效考核带给员工的不能只是压力
Script to get local IP address
17种正则表达式
漏洞复现 - - - Alibaba Nacos权限认证绕过
"Lonely Walking on the Moon" is a powerful medicine, it can't cure the internal friction of happy twist
Interviewer: Tell me the difference between NIO and BIO
手搓一个“七夕限定”,用3D Engine 5分钟实现烟花绽放效果
搭建ros交叉编译环境(从x86到nvidia arm)
JSX使用
持续交付(四)Jenkins多线程任务执行
基于双层共识控制的直流微电网优化调度(Matlab代码实现)
Diffusion Models:生成扩散模型
使用SQLServer复制数据库
项目里的各种配置,你都了解吗?
小程序对接企业微信客服
“蔚来杯“2022牛客暑期多校训练营4 N
vcl啥意思_oval
router---dynamic route matching
【解决方案 三十一】Navicat数据库结构同步