pyvenv-virtualenvwrapper-python is always "/home/user/.pyenv/shims/python"
Closed this issue · 2 comments
yssource commented
I try to use my python virtual environment with pyven and pipenv.
-
pipenv --where
/tmp/hello -
pipenv --venv
/tmp/hello/.venv -
which python
/tmp/hello/.venv/bin/python -
emacs M-x pyvenv-activate /tmp/hello/.venv
-
pyvenv-virtual-env
/tmp/hello/.venv/ -
pyvenv-virtual-env-name
hello -
But pyvenv-virtualenvwrapper-python is still
/home/user/.pyenv/shims/python
pyvenv-virtualenvwrapper-python is a variable defined in ‘pyvenv.el’.
Its value is "/home/user/.pyenv/shims/python"
Original value was
"/tmp/hello/.venv/bin/python"
I think pyvenv-virtualenvwrapper-python is supposed to be
/tmp/hello/.venv/bin/python
, instead of here /home/user/.pyenv/shims/python
So, I think pyvenv does not work correctly for pipenv.
yssource commented
Maybe I'm wrong.
yssource commented