Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
DrownFish19 committed Sep 13, 2024
1 parent 23769dd commit 1084f70
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions docs/get_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,19 @@ Anaconda和Miniconda是流行的Python发行版本,它们能够简化包管理
- 打开“Anaconda Prompt”或“Miniconda Prompt”。
- 创建一个新的环境并安装PaddleNLP:

.. code-block:: bash
.. code-block:: bash
# 创建名为my_paddlenlp的环境,指定Python版本为3.9或3.10
conda create -n my_paddlenlp python=3.9
# 激活环境
conda activate my_paddlenlp
# 安装PaddleNLP
pip install --upgrade --pre paddlenlp
# 创建名为my_paddlenlp的环境,指定Python版本为3.9或3.10
conda create -n my_paddlenlp python=3.9
# 激活环境
conda activate my_paddlenlp
# 安装PaddleNLP
pip install --upgrade --pre paddlenlp
或者,如果您想安装nightly版本:

.. code-block:: bash
pip install --pre --upgrade paddlenlp -f https://www.paddlepaddle.org.cn/whl/paddlenlp.html
.. code-block:: bash
pip install --pre --upgrade paddlenlp -f https://www.paddlepaddle.org.cn/whl/paddlenlp.html
现在,您可以在这个环境中使用PaddleNLP了。

Expand Down

0 comments on commit 1084f70

Please sign in to comment.