Closed georgevreilly closed 2 years ago
Looking at rbenv
, I discovered the which
and exec
commands. So pyenv which pudb3
and pyenv exec pudb3 -h
work with pyenv-virtualenv.
This is by design. Shims dynamically select the correct executable without the need to alter PATH.
Too many issues will kill our team's development velocity, drastically. Make sure you have checked all steps below.
Prerequisite
pyenv-virtualenv
plugin only. Please refrain from reporting issues of other plugins here.Description
macOS 12.0.1
arm64
2.2.2
1.1.5
3.10.0
Problem
pyenv-virtualenv 1.1.5 does not update
PATH
, unlike traditional virtualenv activation. In other words,$VIRTUAL_ENV/bin
is not prepended to$PATH
.System Python: can't
import pudb
(as expected).I created
venv310
with pyenv-virtualenv and didpip install pudb
.Activate
venv310
using the traditional method.PATH
is adjusted.Activate
venv310
withpyenv-virtualenv
.import pudb
works butPATH
is not adjusted.