diff --git a/py-scripts/regression_test.sh b/py-scripts/regression_test.sh index 235309ef..f484dace 100755 --- a/py-scripts/regression_test.sh +++ b/py-scripts/regression_test.sh @@ -107,12 +107,13 @@ PYTHON_ENVIRONMENT=$(which python3) git pull --rebase python3 -m pip install --upgrade pip -if [ -d "/home/lanforge/lanforge_env" ] -then +if [ -d "/home/lanforge/lanforge_env" ]; then source /home/lanforge/lanforge_env/bin/activate pip3 install --upgrade lanforge-scripts +elif [ -d "/home/lanforge/anaconda3" ]; then + pip3 install --upgrade lanforge-scripts else - pip3 install --user -r ../requirements.txt --upgrade + pip3 install --user lanforge_scripts --upgrade fi if [[ ${#SSID_USED} -eq 0 ]]; then #Network credentials