diff --git a/doc/fluid/install/compile/compile_CentOS_en.md b/doc/fluid/install/compile/compile_CentOS_en.md index 56814005dce2f71eb59d24fb2ba3cdff6e9c921a..fd4394b8f4c8894337c24b388f25305f36e65ec9 100644 --- a/doc/fluid/install/compile/compile_CentOS_en.md +++ b/doc/fluid/install/compile/compile_CentOS_en.md @@ -109,7 +109,7 @@ Please follow the steps below to install: `mkdir -p /paddle/build && cd /paddle/build` -7. Use the following command to install the dependencies: +7. Use the following command to install the dependencies: For Python2: pip install protobuf @@ -143,9 +143,15 @@ Please follow the steps below to install: > Use multicore compilation + Note: if compile fail, normally because you did config git properly, read the following blog: [stackoverflow](hhttps://stackoverflow.com/questions/35821245/github-server-certificate-verification-failed). + + Or you can just disable SSL verification, (if the project does not require a high level of security other than login/password) by typing: + + `git config --global http.sslverify false` + 10. After compiling successfully, go to the `/paddle/build/python/dist` directory and find the generated `.whl` package: `cd /paddle/build/python/dist` -11. Install the compiled `.whl` package on the current machine or target machine: +11. Install the compiled `.whl` package on the current machine or target machine: For Python2: pip install -U (whl package name) For Python3: pip3.5 install -U (whl package name) diff --git a/doc/fluid/install/compile/compile_MacOS.md b/doc/fluid/install/compile/compile_MacOS.md index 9e924abdff5db7759bf341df93f3ee85fdb8eae2..4403d3e3f1e57ab1ef07758643d1ebb02c664f27 100644 --- a/doc/fluid/install/compile/compile_MacOS.md +++ b/doc/fluid/install/compile/compile_MacOS.md @@ -45,7 +45,7 @@ 5. 进入Docker后进入paddle目录下: - `cd paddle` + `cd ../paddle` 6. 切换到较稳定版本下进行编译: diff --git a/doc/fluid/install/compile/compile_MacOS_en.md b/doc/fluid/install/compile/compile_MacOS_en.md index b00557ea5f01cf9b611c2649d259941170b600b2..238641e6cecbdece45015fde3434870c1bc6d834 100644 --- a/doc/fluid/install/compile/compile_MacOS_en.md +++ b/doc/fluid/install/compile/compile_MacOS_en.md @@ -49,7 +49,7 @@ Please follow the steps below to install: 5. After entering Docker, go to the paddle directory: - `cd paddle` + `cd ../paddle` 6. Switch to a more stable version to compile: