Skip to content

Update installation guide #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions installation_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,20 @@ conda install -c conda-forge rdkit
```
5. Install `paddle` based on your choice of GPU/CPU version:

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

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

```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```
```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```

Or if you want to use CPU version of PaddlePaddle on Linux, run this command:

```bash
python -m pip install paddlepaddle==2.0.0rc1 -i https://mirror.baidu.com/pypi/simple
```

6. Install `PGL` using pip:

Expand Down
16 changes: 11 additions & 5 deletions installation_guide_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,19 @@ conda install -c conda-forge rdkit
```
5. 基于你对 CPU/GPU 版本的选择来安装 `paddle`:

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

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

```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```
```bash
python -m pip install paddlepaddle-gpu==2.0.0rc1.post90 -f https://paddlepaddle.org.cn/whl/stable.html
```

如果你想在 Linux 系统上安装 paddlepaddle 2.0 CPU 版本,你可以运行以下命令:

```bash
python -m pip install paddlepaddle==2.0.0rc1 -i https://mirror.baidu.com/pypi/simple
```

6. 使用 pip 命令安装`PGL`:
```bash
Expand Down