# Python
## 下载
官网地址：[https://www.python.org/](https://www.python.org/)

下载页面：[https://www.python.org/downloads/windows/](https://www.python.org/downloads/windows/)

下载地址：[https://www.python.org/ftp/python/3.7.5/python-3.7.5-amd64.exe](https://www.python.org/ftp/python/3.7.5/python-3.7.5-amd64.exe)

## 安装
运行安装程序“python-3.7.5-amd64.exe”。

![安装 Python](./img/python_001.jpg)

勾选“Add Python 3.7 to PATH”，点击“Customize installation”；

![安装 Python](./img/python_002.jpg)

点击“Next”按钮；

![安装 Python](./img/python_003.jpg)

勾选“Install for all users”，点击“Browse”按钮选择或直接输入python的安装目录。点击“Install”按钮，开始安装；

![安装 Python](./img/python_004.jpg)

点击“Disable path length limit”，取消路径长度限制。点击“Close”按钮完成安装。

## 配置 python 国内源

## 安装常用 python 库

```
D:\SDK\Python37> pip3 install vg
D:\SDK\Python37> pip3 install numpy
D:\SDK\Python37> pip3 install matplotlib
D:\SDK\Python37> pip3 install shapely
D:\SDK\Python37> pip3 install networkx
D:\SDK\Python37> pip3 install jieba
D:\SDK\Python37> pip3 install short-text-sim -i http://dev.dp.sagacloud.cn:8082/repository/saga-pypi-group/simple --trusted-host dev.dp.sagacloud.cn
```
