mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
more-helpful error message
This commit is contained in:
parent
fca12418ca
commit
23d721be0d
|
|
@ -340,6 +340,8 @@ export PYENV_VERSION="${VERSION_NAME}"
|
|||
PREFIX="$(pyenv-prefix 2>/dev/null || true)"
|
||||
if [ ! -d "${PREFIX}" ]; then
|
||||
echo "pyenv-virtualenv: \`${PYENV_VERSION}' is not installed in pyenv." 1>&2
|
||||
echo
|
||||
echo "See all available versions with \`pyenv install --list'."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue