doc/笔记/pip镜像源-pip-jing-xiang-yuan.md

49 lines
722 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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/
```