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 1 commit
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
5 changes: 5 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,11 @@ PaddlePaddle主要使用 `CMake <https://cmake.org>`_ 以及GCC, G++作为编译

pip install build/python/dist/*.whl

如果机器中已经安装过PaddlePaddle,请卸载再安装:

.. code-block:: bash

pip install build/python/dist/*.whl -U
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-U是update,有一种情况,如果用户是从paddlepaddle.org下载最新的安装包,版本号是没有变化的,-U可能也不能升级安装,就需要pip uninstall然后在pip install,是否需要说明一下呢?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thanks!


.. _run_test:

Expand Down
5 changes: 5 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,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:

Expand Down