Skip to content

Commit e1787c4

Browse files
committed
wait
1 parent ba72bd8 commit e1787c4

File tree

9 files changed

+12
-18
lines changed

9 files changed

+12
-18
lines changed

docs/install/FAQ.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,13 +87,11 @@
8787

8888
- macOS 下安装 PaddlePaddle 后 import paddle.fluid 出现`Fatal Python error: PyThreadState_Get: no current thread running`错误
8989

90-
- For Python2.7.x (install by brew): 请使用`export LD_LIBRARY_PATH=/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7 && export DYLD_LIBRARY_PATH=/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7`
91-
- For Python2.7.x (install by Python.org): 请使用`export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7 && export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7`
92-
- For Python3.5.x (install by Python.org): 请使用`export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5/ && export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5/`
90+
> 请检查您的 Python 版本是否小于 3.7 ,如果是,请使用 Python 3.7 或以上版本。
9391

9492
<a name="OPENBLAS"></a>
9593

96-
- MACOS 下使用自定义的 openblas 详见 issue:
94+
- macOS 下使用自定义的 openblas 详见 issue:
9795

9896
> [ISSUE 13217](https://github.com/PaddlePaddle/Paddle/issues/13721)
9997

docs/install/FAQ_en.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,11 +111,7 @@
111111

112112
- `Fatal Python error: PyThreadState_Get: no current thread running` error occurs when importing paddle.fluid after installing PaddlePaddle on macOS.
113113

114-
115-
- For Python2.7.x (install by brew): Please use `export LD_LIBRARY_PATH=/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7 && export DYLD_LIBRARY_PATH=/usr/ Local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7`
116-
- For Python2.7.x (install by Python.org): Please use `export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7 && export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/2.7`
117-
- For Python3.5.x (install by Python.org): Please use `export LD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5/ && export DYLD_LIBRARY_PATH=/Library/Frameworks/Python.framework/Versions/3.5 /`
118-
114+
> Please check whether your Python version lower than 3.7. If so, please upgrade your Python version to 3.7 or higher.
119115
120116
- Use customized openblas under MACOS. See issue for details:
121117

docs/install/Tables.md

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

docs/install/Tables_en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
</tr>
3636
<tr>
3737
<td> Python(64 bit) </td>
38-
<td> 3.6+.x </td>
39-
<td> depends on libpython3.6+.so </td>
38+
<td> 3.7+.x </td>
39+
<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>
4242
<tr>

docs/install/compile/arm-compile.md

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

55
* **处理器:FT2000+/Kunpeng 920 2426SK**
66
* **操作系统:麒麟 v10/UOS**
7-
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8 (64 bit)**
7+
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8/3.9 (64 bit)**
88
* **pip 或 pip3 版本 9.0.1+ (64 bit)**
99

1010
飞腾 FT2000+和鲲鹏 920 处理器均为 ARMV8 架构,在该架构上编译 Paddle 的方式一致,本文以 FT2000+为例,介绍 Paddle 的源码编译。

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 (64 bit)**
7+
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8/3.9 (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 (64 bit)**
7+
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8/3.9 (64 bit)**
88
* **pip 或 pip3 版本 9.0.1+ (64 bit)**
99

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

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 (64 bit)**
7+
* **Python 版本 2.7.15+/3.5.1+/3.6/3.7/3.8/3.9 (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)一致。

docs/install/pip/macos-pip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
* macOS 上您需要安装 unrar 以支持 PaddlePaddle,可以使用命令 `brew install rar`
9090
* 请确认需要安装 PaddlePaddle 的 Python 是您预期的位置,因为您计算机可能有多个 Python。根据您的环境您可能需要将说明中所有命令行中的 python 替换为具体的 Python 路径。
9191
* 默认下载最新稳定版的安装包,如需获取开发版安装包,请参考[这里](https://www.paddlepaddle.org.cn/install/quick/zh/1.8.5-windows-pip)
92-
* 使用 macOS 中自带 Python 可能会导致安装失败。请使用[Python.org](https://www.python.org/downloads/mac-osx/)提供的 python3.6.x、python3.7.x、python3.8.x 或 python3.9.x。
92+
* 使用 macOS 中自带 Python 可能会导致安装失败。请使用[Python.org](https://www.python.org/downloads/mac-osx/)提供的 python3.7.x、python3.8.x 或 python3.9.x。
9393
9494
## **三、验证安装**
9595

0 commit comments

Comments
 (0)