diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 99a661f464701e2dba3d73124d4901ed340f882e..6ccbb0c37f0586636b61e59be916beb832c604f1 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -79,7 +79,7 @@ function cmake_gen() { PYTHON_FLAGS="-DPYTHON_EXECUTABLE:FILEPATH=/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -DPYTHON_INCLUDE_DIR:PATH=/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DPYTHON_LIBRARY:FILEPATH=/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib" - pip install -r ${PADDLE_ROOT}/python/requirements.txt + pip install --user -r ${PADDLE_ROOT}/python/requirements.txt else exit 1 fi