install_en.md 467 字节
Newer Older
W
whs 已提交
1 2
# Install

W
whs 已提交
3
Please ensure you have installed PaddlePaddle1.7+. [How to install PaddlePaddle](https://www.paddlepaddle.org.cn/install/quick)
W
whs 已提交
4 5


W
whs 已提交
6
- Install by pip
W
whs 已提交
7 8

```bash
W
whs 已提交
9
pip install paddleslim -i https://pypi.org/simple
W
whs 已提交
10 11
```

W
whs 已提交
12
- Install from source
W
whs 已提交
13 14

```bash
W
whs 已提交
15 16 17
git clone https://github.com/PaddlePaddle/PaddleSlim.git
cd PaddleSlim
python setup.py install
W
whs 已提交
18 19
```

W
whs 已提交
20
- History packages
W
whs 已提交
21

W
whs 已提交
22
History packages is available in [pypi.org](https://pypi.org/project/paddleslim/#history).