pip安装使用清华镜像源

这里写自定义目录标题


镜像官网:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/

首先,如果只是临时下载一个包
那么可以运行-CMD-输入使用

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple 要下的包名
1
如果是永久修改镜像源

pip install pip -U
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
1
2
如果网络不好则使用这个

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple pip -U

maven镜像站

 
   alimaven
   aliyun maven
   http://maven.aliyun.com/nexus/content/groups/public/
   central       
 

 
junit 
junit Address/ 
http://jcenter.bintray.com/ 
central 




mirrorId
central
Human Readable Name 
http://repo1.maven.org/maven2/

还有一个



    alimaven
    central
    aliyun maven
    http://maven.aliyun.com/nexus/content/repositories/central/


    alimaven
    aliyun maven
    http://maven.aliyun.com/nexus/content/groups/public/
    central


    central
    Maven Repository Switchboard
    http://repo1.maven.org/maven2/
    central


    repo2
    central
    Human Readable Name for this Mirror.
    http://repo2.maven.org/maven2/


    ibiblio
    central
    Human Readable Name for this Mirror.
    http://mirrors.ibiblio.org/pub/mirrors/maven2/


    jboss-public-repository-group
    central
    JBoss Public Repository Group
    http://repository.jboss.org/nexus/content/groups/public


    google-maven-central
    Google Maven Central
    https://maven-central.storage.googleapis.com
    
    central



    maven.net.cn
    oneof the central mirrors in china
    http://maven.net.cn/content/groups/public/
    central


你可能感兴趣的:(python)