Skip to content
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

add how to update whl in build_from_source.md #7471

Merged
merged 2 commits into from
Jan 12, 2018
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
10 changes: 10 additions & 0 deletions doc/getstarted/build_and_install/build_from_source_cn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ PaddlePaddle主要使用 `CMake <https://cmake.org>`_ 以及GCC, G++作为编译

pip install build/python/dist/*.whl

如果机器中已经安装过PaddlePaddle,有两种方法:

.. code-block:: bash

1. 先卸载之前的版本,再重新安装
pip uninstall paddlepaddle
pip install build/python/dist/*.whl

2. 直接升级到更新的版本
pip install build/python/dist/*.whl -U

.. _run_test:

Expand Down
10 changes: 10 additions & 0 deletions doc/getstarted/build_and_install/build_from_source_en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,16 @@ machine or copy it to the target machine.

pip install build/python/dist/*.whl

If the machine has installed PaddlePaddle before, there are two methods:

.. code-block:: bash

1. uninstall and reinstall
pip uninstall paddlepaddle
pip install build/python/dist/*.whl

2. upgrade directly
pip install build/python/dist/*.whl -U

.. _run_test:

Expand Down