diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index 02eb3dbfd7750b47904b70de4f4fd3757404d29c..b882f71adfdf5f32d119bdcd6bc1d660fab1ea62 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -374,10 +374,11 @@ EOF ctest --output-on-failure # make install should also be test when unittest make install -j `nproc` - pip install ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl + pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl if [[ ${WITH_FLUID_ONLY:-OFF} == "OFF" ]] ; then paddle version fi + pip uninstall --user -y paddlepaddle fi }