diff --git a/doc/COMPILE.md b/doc/COMPILE.md index 411620af2ee10a769384c36cebc3aa3ecb93ea49..3649b0a9355e25dad2544b7898f639fc44b9a0b0 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 44802260719d37a3140ca15f6a2ccc15479e32d6..2b8a42d10368d924e04a67aa9720c14c3b4d95dd 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