Skip to content
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
18 changes: 12 additions & 6 deletions docs/install/conda/linux-conda.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#### 1.1.1 安装环境

首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下四种 Python 安装环境。
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下 Python 安装环境。


如果您想使用的 python 版本为 3.6:
Expand All @@ -42,6 +42,12 @@ conda create -n paddle_env python=3.8
conda create -n paddle_env python=3.9
```

如果您想使用的 python 版本为 3.10:

```
conda create -n paddle_env python=3.10
```


#### 1.1.2 进入 Anaconda 虚拟环境

Expand All @@ -62,10 +68,10 @@ conda activate paddle_env


```
which python
which python3
```

根据您的环境,您可能需要将说明中所有命令行中的 python 替换为具体的 Python 路径
根据您的环境,您可能需要将说明中所有命令行中的 python3 替换为具体的 Python 路径



Expand All @@ -74,7 +80,7 @@ which python
使用以下命令确认版本(Python 应对应 3.6/3.7/3.8/3.9)

```
python --version
python3 --version
```


Expand All @@ -83,7 +89,7 @@ python --version
确认 Python 和 pip 是 64bit,并且处理器架构是 x86_64(或称作 x64、Intel 64、AMD64)架构。下面的第一行输出的是"64bit",第二行输出的是"x86_64(或 x64、AMD64)"即可:

```
python -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
python3 -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
```


Expand Down Expand Up @@ -155,7 +161,7 @@ conda install paddlepaddle==2.4.0rc0 --channel https://mirrors.tuna.tsinghua.edu

## **三、验证安装**

安装完成后您可以使用 `python` 或 `python3` 进入 python 解释器,输入`import paddle` ,再输入
安装完成后您可以使用 `python3` 进入 python 解释器,输入`import paddle` ,再输入
`paddle.utils.run_check()`

如果出现`PaddlePaddle is installed successfully!`,说明您已成功安装。
18 changes: 12 additions & 6 deletions docs/install/conda/linux-conda_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Before performing PaddlePaddle installation, please make sure that your Anaconda

#### 1.1.1 Create the Anaconda Virtual Environment

Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports the following four Python installation environments.
Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports the following Python installation environments.


If you want to use python version 3.6:
Expand All @@ -43,6 +43,12 @@ If you want to use python version 3.9:
conda create -n paddle_env python=3.9
```

If you want to use python version 3.10:

```
conda create -n paddle_env python=3.10
```

#### 1.1.2 Enter the Anaconda Virtual Environment

```
Expand All @@ -57,12 +63,12 @@ Confirm that your conda virtual environment and the Python loaction which is pre

#### 1.2.1 Confirm the installation path of python

Depending on your environment, you may need to replace python in all command lines in the instructions with specific Python path.
Depending on your environment, you may need to replace python3 in all command lines in the instructions with specific Python path.

The command to get the Python path is:

```
which python
which python3
```


Expand All @@ -73,7 +79,7 @@ which python
Use the following command to confirm it's version is 3.6/3.7/3.8/3.9

```
python --version
python3 --version
```


Expand All @@ -84,7 +90,7 @@ Confirm that Python and pip are 64bit, and the processor architecture is x86_64


```
python -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
python3 -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
```


Expand Down Expand Up @@ -157,6 +163,6 @@ You can refer to NVIDIA official documents for installation process and configur

## Verify installation

After the installation is complete, you can use `python` or `python3` to enter the Python interpreter and then use `import paddle` and `paddle.utils.run_check()`
After the installation is complete, you can use `python3` to enter the Python interpreter and then use `import paddle` and `paddle.utils.run_check()`

If `PaddlePaddle is installed successfully!` appears, to verify that the installation was successful.
18 changes: 12 additions & 6 deletions docs/install/conda/macos-conda.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#### 1.1.1 安装环境

首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下五种 Python 安装环境。
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下 Python 安装环境。


如果您想使用的 python 版本为 3.6:
Expand All @@ -40,6 +40,12 @@ conda create -n paddle_env python=3.8
conda create -n paddle_env python=3.9
```

如果您想使用的 python 版本为 3.10:

```
conda create -n paddle_env python=3.10
```


#### 1.1.2 进入 Anaconda 虚拟环境

Expand All @@ -59,10 +65,10 @@ conda activate paddle_env
输出 Python 路径的命令为:

```
which python
which python3
```

根据您的环境,您可能需要将说明中所有命令行中的 python 替换为具体的 Python 路径
根据您的环境,您可能需要将说明中所有命令行中的 python3 替换为具体的 Python 路径



Expand All @@ -71,7 +77,7 @@ which python
使用以下命令确认版本(Python 应对应 3.6/3.7/3.8/3.9)

```
python --version
python3 --version
```


Expand All @@ -82,7 +88,7 @@ python --version


```
python -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
python3 -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
```


Expand Down Expand Up @@ -114,7 +120,7 @@ python -c "import platform;print(platform.architecture()[0]);print(platform.mach

## **三、验证安装**

安装完成后您可以使用 `python` 或 `python3` 进入 python 解释器,输入`import paddle` ,再输入
安装完成后您可以使用 `python3` 进入 python 解释器,输入`import paddle` ,再输入
`paddle.utils.run_check()`

如果出现`PaddlePaddle is installed successfully!`,说明您已成功安装。
18 changes: 12 additions & 6 deletions docs/install/conda/macos-conda_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Before performing PaddlePaddle installation, please make sure that your Anaconda

#### 1.1.1 Create the Anaconda Virtual Environment

Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports the following four Python installation environments.
Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports the following Python installation environments.


If you want to use python version 3.6:
Expand All @@ -44,6 +44,12 @@ If you want to use python version 3.9:
conda create -n paddle_env python=3.9
```

If you want to use python version 3.10:

```
conda create -n paddle_env python=3.10
```



#### 1.1.2 Enter the Anaconda Virtual Environment
Expand All @@ -60,12 +66,12 @@ Confirm that your conda virtual environment and the Python loaction which is pre

#### 1.2.1 Confirm the installation path of python

Depending on your environment, you may need to replace python in all command lines in the instructions with specific Python path.
Depending on your environment, you may need to replace python3 in all command lines in the instructions with specific Python path.

The command to get the Python path is:

```
which python
which python3
```


Expand All @@ -74,7 +80,7 @@ which python
Use the following command to confirm it's version is 3.6/3.7/3.8/3.9

```
python --version
python3 --version
```


Expand All @@ -86,7 +92,7 @@ Confirm that Python and pip are 64bit, and the processor architecture is x86_64(


```
python -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
python3 -c "import platform;print(platform.architecture()[0]);print(platform.machine())"
```


Expand Down Expand Up @@ -121,6 +127,6 @@ conda config --set show_channel_urls yes

## Verify installation

After the installation is complete, you can use `python` or `python3` to enter the Python interpreter and then use `import paddle` and `paddle.utils.run_check()`
After the installation is complete, you can use `python3` to enter the Python interpreter and then use `import paddle` and `paddle.utils.run_check()`

If `PaddlePaddle is installed successfully!` appears, to verify that the installation was successful.
8 changes: 7 additions & 1 deletion docs/install/conda/windows-conda.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

#### 1.1.1 安装环境

首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下四种 Python 安装环境。
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下 Python 安装环境。


如果您想使用的 python 版本为 3.6:
Expand All @@ -42,6 +42,12 @@ conda create -n paddle_env python=3.8
conda create -n paddle_env python=3.9
```

如果您想使用的 python 版本为 3.10:

```
conda create -n paddle_env python=3.10
```


#### 1.1.2 进入 Anaconda 虚拟环境

Expand Down
8 changes: 7 additions & 1 deletion docs/install/conda/windows-conda_en.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Before performing PaddlePaddle installation, please make sure that your Anaconda

#### 1.1.1 Create the Anaconda Virtual Environment

Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports the following four Python installation environments.
Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports the following Python installation environments.


If you want to use python version 3.6:
Expand All @@ -45,6 +45,12 @@ If you want to use python version 3.9:
conda create -n paddle_env python=3.9
```

If you want to use python version 3.10:

```
conda create -n paddle_env python=3.10
```



#### 1.1.2 Enter the Anaconda Virtual Environment
Expand Down
Loading