From 0fad7647d7eb883c849ce6468ba5e781276e9358 Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Fri, 12 Jan 2018 12:06:32 +0800 Subject: [PATCH] add how to update whl in build_from_source.md --- doc/getstarted/build_and_install/build_from_source_cn.rst | 5 +++++ doc/getstarted/build_and_install/build_from_source_en.rst | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/doc/getstarted/build_and_install/build_from_source_cn.rst b/doc/getstarted/build_and_install/build_from_source_cn.rst index 41ac07ca567..1e75087462b 100644 --- a/doc/getstarted/build_and_install/build_from_source_cn.rst +++ b/doc/getstarted/build_and_install/build_from_source_cn.rst @@ -32,6 +32,11 @@ PaddlePaddle主要使用 `CMake `_ 以及GCC, G++作为编译 pip install build/python/dist/*.whl +如果机器中已经安装过PaddlePaddle,请卸载再安装: + +.. code-block:: bash + + pip install build/python/dist/*.whl -U .. _run_test: diff --git a/doc/getstarted/build_and_install/build_from_source_en.rst b/doc/getstarted/build_and_install/build_from_source_en.rst index 92211aee8c3..fde8a18daa2 100644 --- a/doc/getstarted/build_and_install/build_from_source_en.rst +++ b/doc/getstarted/build_and_install/build_from_source_en.rst @@ -36,6 +36,11 @@ machine or copy it to the target machine. pip install build/python/dist/*.whl +If the machine has installed PaddlePaddle before, please uninstall it first and reinstall it again. + +.. code-block:: bash + + pip install build/python/dist/*.whl -U .. _run_test: -- GitLab