diff --git a/paddle/scripts/run_python_tests.sh b/paddle/scripts/run_python_tests.sh index 2d7dd6a2d2c68645eb33ca2e2c3d0fbf40c06e61..3c9baae9612fa2bd77b797270ebab3ac0fc749a3 100755 --- a/paddle/scripts/run_python_tests.sh +++ b/paddle/scripts/run_python_tests.sh @@ -29,7 +29,7 @@ if [ $USE_VIRTUALENV_FOR_TEST -ne 0 ]; then source .test_env/bin/activate PYTHON=python fi - +export PYTHONPATH= $PYTHON -m pip install $SCRIPTPATH/../dist/*.whl # The next line is for debug, will be deleted $PYTHON -m pip list