diff --git a/algo-showenv.sh b/algo-showenv.sh index 0fe2262e2..478e40abf 100755 --- a/algo-showenv.sh +++ b/algo-showenv.sh @@ -70,6 +70,8 @@ fi # The Python version might be useful to know. if [[ -x ./.env/bin/python3 ]]; then ./.env/bin/python3 --version 2>&1 +elif [[ -x "${VIRTUAL_ENV}/bin/python3" ]]; then + "${VIRTUAL_ENV}"/bin/python3 --version 2>&1 elif [[ -f ./algo ]]; then echo ".env/bin/python3 not found: has 'python3 -m virtualenv ...' been run?" fi