This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
### Linux/Mac os 环境
配置文件位置在 ~/.pip/pip.conf(如果不存在创建该目录和文件):
```
mkdir ~/.pip
vi ~/.pip/pip.conf
[global]
index-url = https://pypi.douban.com/simple
[install]
trusted-host = pypi.douban.com
```
### Windows环境
需要在当前对用户目录下(C:\Users\Administrator\pip)
创建一个 pip.ini,内容:
```
[global]
index-url = https://pypi.douban.com/simple
[install]
trusted-host = pypi.douban.com
```
### 查看python3版本
```
python3 --version
```
Python 3.7.9 [银河麒麟V10,并不免费,不是以后的首选。免费的还是用华为欧拉]
### 查看操作系统版本
```
cat /proc/version
```
Linux version 4.19.90-25.18.v2101.ky10.x86_64 (KYLINSOFT@COMPILE.MACHINE) (gcc version 7.3.0 (GCC)) #1 SMP Thu Aug 4 15:57:42 CST 2022