Skip to content

Commit dd235a7

Browse files
authored
Update installation guide (#57)
1 parent c5fadab commit dd235a7

File tree

2 files changed

+23
-11
lines changed

2 files changed

+23
-11
lines changed

installation_guide.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,20 @@ conda install -c conda-forge rdkit
4545
```
4646
5. Install `paddle` based on your choice of GPU/CPU version:
4747

48-
Check `paddlepaddle`'s [official document](https://www.paddlepaddle.org.cn/documentation/docs/en/2.0-rc1/install/index_en.html)
49-
to install **paddle2.0**.
48+
Check `paddlepaddle`'s [official document](https://www.paddlepaddle.org.cn/documentation/docs/en/2.0-rc1/install/index_en.html)
49+
to install **paddle2.0**.
5050

51-
For example, if you want to use GPU version of PaddlePaddle on Linux, run this command:
51+
For example, if you want to use GPU version of PaddlePaddle on Linux, run this command:
5252

53-
```bash
54-
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
55-
```
53+
```bash
54+
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
55+
```
56+
57+
Or if you want to use CPU version of PaddlePaddle on Linux, run this command:
58+
59+
```bash
60+
python -m pip install paddlepaddle==2.0.0rc1 -i https://mirror.baidu.com/pypi/simple
61+
```
5662

5763
6. Install `PGL` using pip:
5864

installation_guide_cn.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,19 @@ conda install -c conda-forge rdkit
4444
```
4545
5. 基于你对 CPU/GPU 版本的选择来安装 `paddle`:
4646

47-
请注意安装 **paddle2.0** 以上版本,方法参见 paddlepaddle [官方文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-rc1/install/index_cn.html)
47+
请注意安装 **paddle2.0** 以上版本,方法参见 paddlepaddle [官方文档](https://www.paddlepaddle.org.cn/documentation/docs/zh/2.0-rc1/install/index_cn.html)
4848

49-
比如,你想在Linux系统上安装PaddlePaddle 2.0 GPU版本,你可以运行以下命令:
49+
比如,你想在 Linux 系统上安装 paddlepaddle 2.0 GPU 版本,你可以运行以下命令:
5050

51-
```bash
52-
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
53-
```
51+
```bash
52+
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
53+
```
54+
55+
如果你想在 Linux 系统上安装 paddlepaddle 2.0 CPU 版本,你可以运行以下命令:
56+
57+
```bash
58+
python -m pip install paddlepaddle==2.0.0rc1 -i https://mirror.baidu.com/pypi/simple
59+
```
5460

5561
6. 使用 pip 命令安装`PGL`:
5662
```bash

0 commit comments

Comments
 (0)