From 42d84a8d09d10f1f0c505a879074a00f03d55e8c Mon Sep 17 00:00:00 2001 From: Jiabin Yang Date: Thu, 27 Jun 2019 10:37:18 +0800 Subject: [PATCH] Update install doc (#946) * test=develop, update install doc * add setuptools dependency * Update compile_Ubuntu.md update cudnn version * Update install_Ubuntu.md update cudnn version * Update install_CentOS.md update cudnn version * test=develop, refine ubuntu cuda support * test=develop, refine ubuntu cuda support * test=develop, refine python support on python3.5 * fix python2 in ubuntu16.04 need gcc 5.4 * add nccl related doc * refine doc * add gpu fast install doc * refine command of pip * add avx off for mac complie * refine code * refine doc --- doc/fluid/beginners_guide/install/compile/compile_MacOS.md | 6 +++--- .../beginners_guide/install/compile/compile_Windows.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/fluid/beginners_guide/install/compile/compile_MacOS.md b/doc/fluid/beginners_guide/install/compile/compile_MacOS.md index 101da46d9..96f270ca7 100644 --- a/doc/fluid/beginners_guide/install/compile/compile_MacOS.md +++ b/doc/fluid/beginners_guide/install/compile/compile_MacOS.md @@ -96,8 +96,8 @@ 12. 在当前机器或目标机器安装编译好的`.whl`包: - For Python2: pip install (whl包的名字) - For Python3: pip3.5 install (whl包的名字) + For Python2: pip install -U(whl包的名字) + For Python3: pip3.5 install -U(whl包的名字) 注意:以上涉及Python3的命令,用Python3.5来举例,如您的Python版本为3.6/3.7,请将上述命令中的Python3.5改成Python3.6/Python3.7 @@ -197,7 +197,7 @@ 12. 在当前机器或目标机器安装编译好的`.whl`包: - `pip install (whl包的名字)`或`pip3 install (whl包的名字)` + `pip install -U(whl包的名字)`或`pip3 install -U(whl包的名字)` > 如果您的电脑上安装有多个python环境以及pip请参见[FAQ](../Tables.html/#MACPRO) diff --git a/doc/fluid/beginners_guide/install/compile/compile_Windows.md b/doc/fluid/beginners_guide/install/compile/compile_Windows.md index bff5f15cf..3c161152b 100644 --- a/doc/fluid/beginners_guide/install/compile/compile_Windows.md +++ b/doc/fluid/beginners_guide/install/compile/compile_Windows.md @@ -97,7 +97,7 @@ 9. 在当前机器或目标机器安装编译好的 `.whl` 包: - `pip install (whl包的名字)` 或 `pip3 install (whl包的名字)` + `pip install -U(whl包的名字)` 或 `pip3 install -U(whl包的名字)` 恭喜,至此您已完成PaddlePaddle的编译安装 -- GitLab