pipenv --venv returns incorrect virtual env path #2896
Labels
reported bug
Status: Needs More Information
This issue does not provide enough information to take further action.
Issue description
pipenv --venv
Returns a path that is a concatenation of my actual virtual env with the location of the pyenv python version used when creating the env.
Expected result
Just the path to the virtual env:
/Users//.venvs/
Actual result
/Users//.venvs//Users//.pyenv/shims/python
Steps to replicate
Environment created from existing requirements.txt using pipenv install --ignore-lock
From my .zshrc file:
pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
if command -v pyenv 1>/dev/null 2>&1; then
eval "$(pyenv init -)"
fi
pipenv
export WORKON_HOME=~/.venvs
export PIPENV_PYTHON=$PYENV_ROOT/shims/python
eval "$(pipenv --completion)"
The text was updated successfully, but these errors were encountered: