We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b6d7dfe commit 5b9a133Copy full SHA for 5b9a133
algo-showenv.sh
@@ -70,6 +70,8 @@ fi
70
# The Python version might be useful to know.
71
if [[ -x ./.env/bin/python3 ]]; then
72
./.env/bin/python3 --version 2>&1
73
+elif [[ -x "${VIRTUAL_ENV}/bin/python3" ]]; then
74
+ "${VIRTUAL_ENV}"/bin/python3 --version 2>&1
75
elif [[ -f ./algo ]]; then
76
echo ".env/bin/python3 not found: has 'python3 -m virtualenv ...' been run?"
77
fi
0 commit comments