Skip to content

Commit 7a4506a

Browse files
committed
fix some compile docs
1 parent 0b500bc commit 7a4506a

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

docs/install/Tables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
</tr>
3535
<tr>
3636
<td> Python(64 bit) </td>
37-
<td> 3.7+.x </td>
37+
<td> 3.7+ </td>
3838
<td> 依赖 libpython3.7+.so </td>
3939
<td> 请访问<a href="https://www.python.org">Python 官网</a></td>
4040
</tr>

docs/install/Tables_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</tr>
3636
<tr>
3737
<td> Python(64 bit) </td>
38-
<td> 3.7+.x </td>
38+
<td> 3.7+ </td>
3939
<td> depends on libpython3.7+.so </td>
4040
<td> please go to <a href="https://www.python.org">Python official website </a></td>
4141
</tr>

docs/install/compile/linux-compile.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,13 @@ uname -m && cat /etc/*release
378378
379379
(请参照 Python 官方流程安装, 并保证拥有 20.2.2 及以上的 pip3 版本,请注意,python3.6 及以上版本环境下,pip3 并不一定对应 python 版本,如 python3.7 下默认只有 pip3.7)
380380
381-
* c.(Only For Python3)设置 Python3 相关的环境变量,这里以 python3.7 版本示例,请替换成您使用的版本(3.6、3.8、3.9):
381+
* c.(Only For Python3)设置 Python3 相关的环境变量,这里以 python3.7 版本示例,请替换成您使用的版本(3.8、3.9):
382382
383383
1. 首先使用
384384
```
385385
find `dirname $(dirname $(which python3))` -name "libpython3.so"
386386
```
387-
找到 Python lib 的路径,如果是 3.6、3.7、3.8、3.9,请将`python3`改成`python3.6`、`python3.7`、`python3.8`、`python3.9`,然后将下面[python-lib-path]替换为找到文件路径
387+
找到 Python lib 的路径,如果是 3.7、3.8、3.9,请将`python3`改成`python3.7`、`python3.8`、`python3.9`,然后将下面[python-lib-path]替换为找到文件路径
388388
389389
2. 设置 PYTHON_LIBRARIES:
390390
```
@@ -538,7 +538,7 @@ mkdir build && cd build
538538
cmake .. -DPYTHON_EXECUTABLE:FILEPATH=[您可执行的 Python3 的路径] -DPYTHON_INCLUDE_DIR:PATH=[之前的 PYTHON_INCLUDE_DIRS] -DPYTHON_LIBRARY:FILEPATH=[之前的 PYTHON_LIBRARY] -DWITH_GPU=ON
539539
```
540540
541-
注意:以上涉及 Python3 的命令,用 Python3.7 来举例,如您的 Python 版本为 3.6/3.8/3.9,请将上述命令中的 Python3.7 改成 Python3.6/Python3.8/Python3.9
541+
注意:以上涉及 Python3 的命令,用 Python3.7 来举例,如您的 Python 版本为 3.8/3.9,请将上述命令中的 Python3.7 改成 Python3.8/Python3.9
542542
543543
544544

docs/install/compile/linux-compile_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ uname -m && cat /etc/*release
367367
```
368368
find `dirname $(dirname $(which python3))` -name "libpython3.so"
369369
```
370-
If it is 3.6,3.7,3.8,3.9, change `python3` to `python3.6`,`python3.7`, `python3.8`, `python3.9`, then replace [python-lib-path] in the following steps with the file path found.
370+
If it is 3.7,3.8,3.9, change `python3` to `python3.7`, `python3.8`, `python3.9`, then replace [python-lib-path] in the following steps with the file path found.
371371
372372
2. Set PYTHON_LIBRARIES:
373373
```
@@ -511,7 +511,7 @@ mkdir build && cd build
511511
```
512512
513513
514-
Note: For the command involving Python 3, we use Python 3.7 as an example above, if the version of your Python is 3.6/3.8/3.9, please change Python3.7 in the commands to Python3.6/Python3.8/Python3.9
514+
Note: For the command involving Python 3, we use Python 3.7 as an example above, if the version of your Python is 3.8/3.9, please change Python3.7 in the commands to Python3.8/Python3.9
515515
516516
517517

docs/install/compile/macos-compile.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ uname -m
167167
168168
#### 2. 安装 Python 以及 pip:
169169
170-
> **请不要使用 macOS 中自带 Python**,我们强烈建议您使用[Homebrew](https://brew.sh)安装 python(对于**Python3**请使用 python[官方下载](https://www.python.org/downloads/mac-osx/)python3.6.x、python3.7.x、python3.8、python3.9), pip 以及其他的依赖,这将会使您高效编译。
170+
> **请不要使用 macOS 中自带 Python**,我们强烈建议您使用[Homebrew](https://brew.sh)安装 python(对于**Python3**请使用 python[官方下载](https://www.python.org/downloads/mac-osx/)python3.7.x、python3.8、python3.9), pip 以及其他的依赖,这将会使您高效编译。
171171
172172
使用 Python 官网安装
173173
@@ -243,7 +243,7 @@ cd Paddle
243243
git checkout develop
244244
```
245245
246-
注意:python3.6、python3.7 版本从 release/1.2 分支开始支持, python3.8 版本从 release/1.8 分支开始支持, python3.9 版本从 release/2.1 分支开始支持
246+
注意:python3.7 版本从 release/1.2 分支开始支持, python3.8 版本从 release/1.8 分支开始支持, python3.9 版本从 release/2.1 分支开始支持
247247
248248
#### 7. 并且请创建并进入一个叫 build 的目录下:
249249

docs/install/compile/macos-compile_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ cd /paddle
9393
git checkout develop
9494
```
9595

96-
Note: python3.6、python3.7 version started supporting from release/1.2 branch, python3.8 version started supporting from release/1.8 branch, python3.9 version started supporting from release/2.1 branch
96+
Note: python3.7 version started supporting from release/1.2 branch, python3.8 version started supporting from release/1.8 branch, python3.9 version started supporting from release/2.1 branch
9797

9898
#### 8. Create and enter the /paddle/build path:
9999

@@ -168,7 +168,7 @@ We used Python3.7 command as an example above, if the version of your Python is
168168
169169
#### 2. Install python and pip:
170170
171-
> **Please do not use the Python initially given by macOS**, we strongly recommend that you use [Homebrew](https://brew.sh/) to install python (for Python3 please use python [official download](https://www.python.org/downloads/mac-osx/) python3.6.x, python3.7.x, python3.8, python3.9), pip and other dependencies, This will greatly reduce the difficulty of installing and compiling.
171+
> **Please do not use the Python initially given by macOS**, we strongly recommend that you use [Homebrew](https://brew.sh/) to install python (for Python3 please use python [official download](https://www.python.org/downloads/mac-osx/) python3.7.x, python3.8, python3.9), pip and other dependencies, This will greatly reduce the difficulty of installing and compiling.
172172
173173
Install using Python official website
174174

docs/install/compile/mips-compile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* **处理器:Loongson-3A R4 (Loongson-3A4000)**
66
* **操作系统:Loongnix release 1.0**
7-
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8/3.9 (64 bit)**
7+
* **Python 版本 3.7/3.8/3.9/3.10 (64 bit)**
88
* **pip 或 pip3 版本 20.2.2+ (64 bit)**
99

1010
本文以 Loongson-3A4000 为例,介绍 Paddle 在 MIPS 架构下的源码编译。

docs/install/compile/sw-compile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* **处理器:SW6A**
66
* **操作系统:普华, iSoft Linux 5**
7-
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8/3.9 (64 bit)**
7+
* **Python 版本 3.7/3.8/3.9/3.10 (64 bit)**
88
* **pip 或 pip3 版本 9.0.1+ (64 bit)**
99

1010
申威机器为 SW 架构,目前生态支持的软件比较有限,本文以比较 trick 的方式在申威机器上源码编译 Paddle,未来会随着申威软件的完善不断更新。

docs/install/compile/windows-compile_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ There is one compilation methods in Windows system:
7171
git checkout develop
7272
```
7373
74-
Note: python3.6、python3.7 version started supporting from release/1.2, python3.8 version started supporting from release/1.8, python3.9 version started supporting from release/2.1
74+
Note: python3.7 version started supporting from release/1.2, python3.8 version started supporting from release/1.8, python3.9 version started supporting from release/2.1
7575
7676
4. Create a directory called build and enter it:
7777

docs/install/compile/zhaoxin-compile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
* **处理器:ZHAOXIN KaiSheng KH-37800D**
66
* **操作系统:centos7**
7-
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8/3.9 (64 bit)**
7+
* **Python 版本 3.7/3.8/3.9/3.10 (64 bit)**
88
* **pip 或 pip3 版本 9.0.1+ (64 bit)**
99

1010
兆芯为 x86 架构,编译方法与[Linux 下从源码编译 cpu 版](https://www.paddlepaddle.org.cn/documentation/docs/zh/develop/install/compile/compile_Linux.html)一致。

0 commit comments

Comments
 (0)