Skip to content

Commit 2cec5ac

Browse files
authored
[install doc] fix relative link in install doc (#4119)
* fix relative link in install doc * fix
1 parent 95270a7 commit 2cec5ac

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

docs/install/compile/linux-compile.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ uname -m && cat /etc/*release
451451
workon paddle-venv
452452
```
453453
454-
#### 6. **执行编译前**请您确认在虚环境中安装有[编译依赖表](../Tables.html#third_party)中提到的相关依赖:
454+
#### 6. **执行编译前**请您确认在虚环境中安装有[编译依赖表](/documentation/docs/zh/install/Tables.html#third_party)中提到的相关依赖:
455455
456456
* 这里特别提供`patchELF`的安装方法,其他的依赖可以使用`yum install`或者`pip install`/`pip3 install` 后跟依赖名称和版本安装:
457457

docs/install/compile/linux-compile_en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ uname -m && cat /etc/*release
437437
workon paddle-venv
438438
```
439439
440-
#### 6. Before **executing the compilation**, please confirm that the related dependencies mentioned in the [compile dependency table](../Tables.html/#third_party) are installed in the virtual environment:
440+
#### 6. Before **executing the compilation**, please confirm that the related dependencies mentioned in the [compile dependency table](/documentation/docs/en/install/Tables_en.html/#third_party) are installed in the virtual environment:
441441
442442
* Here is the installation method for `patchELF`. Other dependencies can be installed using `yum install` or `apt install`, `pip install`/`pip3 install` followed by the name and version:
443443

docs/install/compile/macos-compile.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ uname -m
210210
211211
- g. (可选)如果您是在MacOS 10.14上编译PaddlePaddle,请保证您已经安装了[对应版本](http://developer.apple.com/download)的Xcode。
212212
213-
#### 4. **执行编译前**请您确认您的环境中安装有[编译依赖表](../Tables.html#third_party)中提到的相关依赖,否则我们强烈推荐使用`Homebrew`安装相关依赖。
213+
#### 4. **执行编译前**请您确认您的环境中安装有[编译依赖表](/documentation/docs/zh/install/Tables.html#third_party)中提到的相关依赖,否则我们强烈推荐使用`Homebrew`安装相关依赖。
214214
215215
> MacOS下如果您未自行修改或安装过“编译依赖表”中提到的依赖,则仅需要使用`pip`安装`numpy,protobuf,wheel`,使用`homebrew`安装`wget,swig, unrar`,另外安装`cmake`即可
216216
@@ -290,7 +290,6 @@ pip install -U(whl包的名字)
290290
pip3 install -U(whl包的名字)
291291
```
292292
293-
> 如果您的电脑上安装有多个python环境以及pip请参见[FAQ](../Tables.html#MACPRO)
294293
295294
#### 恭喜,至此您已完成PaddlePaddle的编译安装
296295

docs/install/compile/macos-compile_en.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ apt install patchelf
125125
```
126126
cmake .. -DPY_VERSION=3.7 -DWITH_GPU=OFF -DWITH_TESTING=OFF -DWITH_AVX=OFF -DCMAKE_BUILD_TYPE=Release
127127
```
128-
> For details on the compilation options, see the [compilation options table](../Tables_en.html/#Compile).
128+
> For details on the compilation options, see the [compilation options table](/documentation/docs/en/install/Tables_en.html/#Compile).
129129
130130
> Please attention to modify parameters `-DPY_VERSION` for the version of Python you want to compile with, for example `-DPY_VERSION=3.7` means the version of python is 3.7
131131
@@ -213,7 +213,7 @@ Install using Python official website
213213
- g. (Optional) If you are compiling PaddlePaddle on MacOS 10.14, make sure you have the [appropriate version](http://developer.apple.com/download) of Xcode installed.
214214
215215
216-
#### 4. Before **compilation**, please confirm that the relevant dependencies mentioned in the [compilation dependency table](h../Tables.html/#third_party) are installed in your environment, otherwise we strongly recommend using `Homebrew` to install related dependencies.
216+
#### 4. Before **compilation**, please confirm that the relevant dependencies mentioned in the [compilation dependency table](/documentation/docs/en/install/Tables_en.html/#third_party) are installed in your environment, otherwise we strongly recommend using `Homebrew` to install related dependencies.
217217
218218
> Under MacOS, if you have not modified or installed the dependencies mentioned in the "Compile Dependency Table", you only need to use `pip` to install `numpy`, `protobuf`, `wheel`, use `homebrew` to install `wget`, `swig`,then install `cmake`.
219219
@@ -293,7 +293,6 @@ or
293293
pip3 install -U (whl package name)
294294
```
295295
296-
> If you have multiple python environments and pips installed on your computer, please see the [FAQ](../Tables.html/#MACPRO).
297296
298297
#### Congratulations, now you have completed the process of compiling PaddlePaddle using this machine.
299298

0 commit comments

Comments
 (0)