diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index bdc42106407d0f4038fef75d1de109997842147e..62a2b08a8a13c4ac3c06cc5e3cc26ecc3568db17 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -442,6 +442,7 @@ EOF make install -j 8 if [ "$1" == "cp27-cp27m" ]; then pip install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl + set -e python -c "import paddle.fluid" elif [ "$1" == "cp35-cp35m" ]; then pip3.5 install --user ${INSTALL_PREFIX:-/paddle/build}/opt/paddle/share/wheels/*.whl