当前位置:网站首页>使用pip命令切换不同的镜像源
使用pip命令切换不同的镜像源
2022-07-27 05:48:00 【icejuhua】
当我们使用pip命令安装各种插件的时候,如果没有改过配置文件,默认下载源是国外的镜像源,那么如何使用国内的镜像源呢?
使用国外镜像源的时候下载速度一般很慢,经常安装失败

我们可以在pip命令后面跟上-i 镜像源地址来指定从镜像源下载
pip install PyQt5_tools -i https://pypi.tuna.tsinghua.edu.cn/simple/其中:https://pypi.tuna.tsinghua.edu.cn/simple/ 为清华源的地址
常用的国内镜像源
- 阿里云 http://mirrors.aliyun.com/pypi/simple/
- 豆瓣 http://pypi.douban.com/simple/
- 清华大学 https://pypi.tuna.tsinghua.edu.cn/simple/
- 中国科学技术大学 http://pypi.mirrors.ustc.edu.cn/simple/
- 华中科技大学 http://pypi.hustunique.com/
边栏推荐
- VIVO应用市场APP上架总结
- Es compares the data difference between the two indexes
- Problems related to pytorch to onnx
- 内部类--看这篇就懂啦~
- 2021 interview questions for php+go of Zhongda factory (2)
- Digital image processing - Chapter 6 color image processing
- 肽核酸PNA-多肽PNA-TPP|Glt-Ala-Ala-Pro-Leu-pNA|Suc-Ala-Pro-pNA|Suc-AAPL-pNA|Suc-AAPM-pNA
- DNA research experiment application | cyclodextrin modified nucleic acid cd-rna/dna | cyclodextrin nucleic acid probe / quantum dot nucleic acid probe
- Ci framework learning of PHP
- (转帖)eureka、consul、nacos的对比2
猜你喜欢

Norms of vectors and matrices

Visual horizontal topic bug1:filenotfounderror: could not find module 'mvcameracontrol dll‘ (or one of it

Reflection on pytorch back propagation

OpenGL development with QT (I) drawing plane graphics

含有偶氮苯单体的肽核酸寡聚体(NH2-TNT4,N-PNAs)齐岳生物定制

脱氧核糖核酸DNA修饰氧化锌|DNA修饰纳米金颗粒|DNA偶联修饰碳纳米材料

DNA修饰贵金属纳米颗粒|脱氧核糖核酸DNA修饰纳米金(科研级)

MangoDB

DNA科研实验应用|环糊精修饰核酸CD-RNA/DNA|环糊精核酸探针/量子点核酸探针

Digital image processing -- Chapter 3 gray scale transformation and spatial filtering
随机推荐
Campus news release management system based on SSM
DNA modified noble metal nanoparticles | DNA modified gold nanoparticles (scientific research level)
仿真模型简单介绍
How MySQL executes query statements
DataScience:数据生成之在原始数据上添加小量噪声(可自定义噪声)进而实现构造新数据(dataframe格式数据存储案例)
TS learning (VIII): classes in TS
Interpretation of deepsort source code (IV)
Codeforces Round #787 (Div. 3)(7/7)
肽核酸PNA-多肽PNA-TPP|Glt-Ala-Ala-Pro-Leu-pNA|Suc-Ala-Pro-pNA|Suc-AAPL-pNA|Suc-AAPM-pNA
“蔚来杯“2022牛客暑期多校训练营1
Error in running code: libboost_ filesystem.so.1.58.0: cannot open shared object file: No such file or directory
基于SSM音乐网站管理系统
VIM editor deletes all file contents
DNA科研实验应用|环糊精修饰核酸CD-RNA/DNA|环糊精核酸探针/量子点核酸探针
算法--斐波那契数列(Kotlin)
jest单测样式问题【identity-obj-proxy】npm包
Consideration on how the covariance of Kalman filter affects the tracking effect of deepsort
MySQL index failure and solution practice
Basic concepts of program, process, thread, coprocess, single thread and multi thread
How does golang assign values to empty structures