Skip to content

Commit 5b126b5

Browse files
2.4.0 docs update (#5451)
* del conda linux and windows 1.2.2 python version * modify conda install 1.1.1
1 parent 36815e3 commit 5b126b5

File tree

6 files changed

+16
-176
lines changed

6 files changed

+16
-176
lines changed

docs/install/conda/linux-conda.md

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,10 @@
99

1010
#### 1.1.1 安装环境
1111

12-
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下 Python 安装环境。
13-
14-
15-
如果您想使用的 python 版本为 3.6:
16-
17-
```
18-
conda create -n paddle_env python=3.6
19-
```
20-
21-
如果您想使用的 python 版本为 3.7:
22-
23-
```
24-
conda create -n paddle_env python=3.7
25-
```
26-
27-
如果您想使用的 python 版本为 3.8:
28-
29-
```
30-
conda create -n paddle_env python=3.8
31-
```
32-
33-
如果您想使用的 python 版本为 3.9:
34-
35-
```
36-
conda create -n paddle_env python=3.9
37-
```
38-
39-
如果您想使用的 python 版本为 3.10:
12+
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持 3.6 - 3.10 版本的 Python 安装环境。
4013

4114
```
42-
conda create -n paddle_env python=3.10
15+
conda create -n paddle_env python=YOUR_PY_VER
4316
```
4417

4518

@@ -71,7 +44,7 @@ which python3
7144

7245
#### 1.2.2 检查 Python 版本
7346

74-
使用以下命令确认版本(Python 应对应 3.6/3.7/3.8/3.9)
47+
使用以下命令确认版本
7548

7649
```
7750
python3 --version

docs/install/conda/linux-conda_en.md

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,38 +9,13 @@
99

1010
#### 1.1.1 Create the Anaconda Virtual Environment
1111

12-
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.
13-
14-
15-
If you want to use python version 3.6:
16-
17-
```
18-
conda create -n paddle_env python=3.6
19-
```
20-
21-
If you want to use python version 3.7:
22-
23-
```
24-
conda create -n paddle_env python=3.7
25-
```
26-
27-
If you want to use python version 3.8:
28-
29-
```
30-
conda create -n paddle_env python=3.8
31-
```
32-
33-
If you want to use python version 3.9:
12+
Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports Python version of 3.6 - 3.10.
3413

3514
```
36-
conda create -n paddle_env python=3.9
15+
conda create -n paddle_env python=YOUR_PY_VER
3716
```
3817

39-
If you want to use python version 3.10:
4018

41-
```
42-
conda create -n paddle_env python=3.10
43-
```
4419

4520
#### 1.1.2 Enter the Anaconda Virtual Environment
4621

@@ -69,7 +44,7 @@ which python3
6944
#### 1.2.2 Check the version of Python
7045

7146

72-
Use the following command to confirm it's version is 3.6/3.7/3.8/3.9
47+
Use the following command to confirm it's version
7348

7449
```
7550
python3 --version

docs/install/conda/macos-conda.md

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,10 @@
88

99
#### 1.1.1 安装环境
1010

11-
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下 Python 安装环境。
12-
13-
14-
如果您想使用的 python 版本为 3.6:
15-
16-
```
17-
conda create -n paddle_env python=3.6
18-
```
19-
20-
如果您想使用的 python 版本为 3.7:
21-
22-
```
23-
conda create -n paddle_env python=3.7
24-
```
25-
26-
如果您想使用的 python 版本为 3.8:
27-
28-
```
29-
conda create -n paddle_env python=3.8
30-
```
31-
32-
如果您想使用的 python 版本为 3.9:
33-
34-
```
35-
conda create -n paddle_env python=3.9
36-
```
37-
38-
如果您想使用的 python 版本为 3.10:
11+
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持 3.6 - 3.10 版本的 Python 安装环境。
3912

4013
```
41-
conda create -n paddle_env python=3.10
14+
conda create -n paddle_env python=YOUR_PY_VER
4215
```
4316

4417

docs/install/conda/macos-conda_en.md

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,10 @@
1010

1111
#### 1.1.1 Create the Anaconda Virtual Environment
1212

13-
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.
14-
15-
16-
If you want to use python version 3.6:
17-
18-
```
19-
conda create -n paddle_env python=3.6
20-
```
21-
22-
If you want to use python version 3.7:
23-
24-
```
25-
conda create -n paddle_env python=3.7
26-
```
27-
28-
If you want to use python version 3.8:
29-
30-
```
31-
conda create -n paddle_env python=3.8
32-
```
33-
34-
If you want to use python version 3.9:
35-
36-
```
37-
conda create -n paddle_env python=3.9
38-
```
39-
40-
If you want to use python version 3.10:
13+
Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports Python version of 3.6 - 3.10.
4114

4215
```
43-
conda create -n paddle_env python=3.10
16+
conda create -n paddle_env python=YOUR_PY_VER
4417
```
4518

4619

docs/install/conda/windows-conda.md

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,37 +9,10 @@
99

1010
#### 1.1.1 安装环境
1111

12-
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持以下 Python 安装环境。
13-
14-
15-
如果您想使用的 python 版本为 3.6:
16-
17-
```
18-
conda create -n paddle_env python=3.6
19-
```
20-
21-
如果您想使用的 python 版本为 3.7:
22-
23-
```
24-
conda create -n paddle_env python=3.7
25-
```
26-
27-
如果您想使用的 python 版本为 3.8:
28-
29-
```
30-
conda create -n paddle_env python=3.8
31-
```
32-
33-
如果您想使用的 python 版本为 3.9:
34-
35-
```
36-
conda create -n paddle_env python=3.9
37-
```
38-
39-
如果您想使用的 python 版本为 3.10:
12+
首先根据具体的 Python 版本创建 Anaconda 虚拟环境,PaddlePaddle 的 Anaconda 安装支持 3.6 - 3.10 版本的 Python 安装环境。
4013

4114
```
42-
conda create -n paddle_env python=3.10
15+
conda create -n paddle_env python=YOUR_PY_VER
4316
```
4417

4518

@@ -70,7 +43,7 @@ where python
7043

7144
#### 1.2.2 检查 Python 版本
7245

73-
使用以下命令确认版本(应对应 3.6/3.7/3.8/3.9)
46+
使用以下命令确认版本
7447

7548
```
7649
python --version

docs/install/conda/windows-conda_en.md

Lines changed: 3 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -10,37 +10,10 @@
1010

1111
#### 1.1.1 Create the Anaconda Virtual Environment
1212

13-
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.
14-
15-
16-
If you want to use python version 3.6:
17-
18-
```
19-
conda create -n paddle_env python=3.6
20-
```
21-
22-
If you want to use python version 3.7:
23-
24-
```
25-
conda create -n paddle_env python=3.7
26-
```
27-
28-
If you want to use python version 3.8:
29-
30-
```
31-
conda create -n paddle_env python=3.8
32-
```
33-
34-
If you want to use python version 3.9:
35-
36-
```
37-
conda create -n paddle_env python=3.9
38-
```
39-
40-
If you want to use python version 3.10:
13+
Create virtual environment First create the Anaconda virtual environment according to the specific Python version. The Anaconda installation of PaddlePaddle supports Python version of 3.6 - 3.10.
4114

4215
```
43-
conda create -n paddle_env python=3.10
16+
conda create -n paddle_env python=YOUR_PY_VER
4417
```
4518

4619

@@ -71,7 +44,7 @@ where python
7144

7245
#### 1.2.2 Check the version of Python
7346

74-
Use the following command to confirm it's version is 3.6/3.7/3.8/3.9
47+
Use the following command to confirm it's version
7548

7649
```
7750
python --version

0 commit comments

Comments
 (0)