From dce83d16046c8861a614b6f49dffadccadac9ef5 Mon Sep 17 00:00:00 2001 From: barrierye Date: Thu, 28 May 2020 15:41:32 +0800 Subject: [PATCH] add centos6 info to compile doc --- doc/COMPILE.md | 2 ++ doc/COMPILE_CN.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/COMPILE.md b/doc/COMPILE.md index 411620af..3649b0a9 100644 --- a/doc/COMPILE.md +++ b/doc/COMPILE.md @@ -36,6 +36,8 @@ cd Serving && git submodule update --init --recursive export PYTHONROOT=/usr/ ``` +In the default centos7 image we provide, the Python path is `/usr/bin/python`. If you want to use our centos6 image, you need to set it to `export PYTHONROOT=/usr/local/python2.7/`. + ## Compile Server ### Integrated CPU version paddle inference library diff --git a/doc/COMPILE_CN.md b/doc/COMPILE_CN.md index 44802260..2b8a42d1 100644 --- a/doc/COMPILE_CN.md +++ b/doc/COMPILE_CN.md @@ -36,6 +36,8 @@ cd Serving && git submodule update --init --recursive export PYTHONROOT=/usr/ ``` +我们提供默认Centos7的Python路径为`/usr/bin/python`,如果您要使用我们的Centos6镜像,需要将其设置为`export PYTHONROOT=/usr/local/python2.7/`。 + ## 编译Server部分 ### 集成CPU版本Paddle Inference Library -- GitLab