Skip to content

Commit 0fad764

Browse files
committed
add how to update whl in build_from_source.md
1 parent 5dbd537 commit 0fad764

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

doc/getstarted/build_and_install/build_from_source_cn.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ PaddlePaddle主要使用 `CMake <https://cmake.org>`_ 以及GCC, G++作为编译
3232
3333
pip install build/python/dist/*.whl
3434
35+
如果机器中已经安装过PaddlePaddle,请卸载再安装:
36+
37+
.. code-block:: bash
38+
39+
pip install build/python/dist/*.whl -U
3540
3641
.. _run_test:
3742

doc/getstarted/build_and_install/build_from_source_en.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ machine or copy it to the target machine.
3636
3737
pip install build/python/dist/*.whl
3838
39+
If the machine has installed PaddlePaddle before, please uninstall it first and reinstall it again.
40+
41+
.. code-block:: bash
42+
43+
pip install build/python/dist/*.whl -U
3944
4045
.. _run_test:
4146

0 commit comments

Comments
 (0)