49 lines
722 B
Markdown
49 lines
722 B
Markdown
---
|
||
title: pip镜像源
|
||
date: 2023-05-13 10:30:56.581
|
||
updated: 2023-05-13 10:32:36.714
|
||
url: /archives/pip-jing-xiang-yuan
|
||
categories:
|
||
- Tools
|
||
tags:
|
||
- Tools
|
||
---
|
||
|
||
常用的国内源:
|
||
|
||
清华:
|
||
```
|
||
https://pypi.tuna.tsinghua.edu.cn/simple/
|
||
```
|
||
阿里云:
|
||
```
|
||
http://mirrors.aliyun.com/pypi/simple/
|
||
```
|
||
中国科技大学 :
|
||
```
|
||
https://pypi.mirrors.ustc.edu.cn/simple/
|
||
```
|
||
华中科技大学:
|
||
```
|
||
http://pypi.hustunique.com/
|
||
```
|
||
豆瓣:
|
||
```
|
||
http://pypi.douban.com/simple/
|
||
```
|
||
|
||
|
||
|
||
临时使用阿里源
|
||
|
||
```
|
||
pip install packageName -i http://mirrors.aliyun.com/pypi/simple/
|
||
```
|
||
|
||
pip cmd 命令行设置全局镜像源: 阿里源
|
||
|
||
```
|
||
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
|
||
```
|
||
|