Use local venv with .python-version #2663
-
Is it possible to point to the locally installed venv with .python-version file so that it is automatically activated over pyenv? |
Beta Was this translation helpful? Give feedback.
Answered by
native-api
Mar 30, 2023
Replies: 1 comment 1 reply
-
Pyenv needs an inventory of environments to select from in a known place -- so that it knows what to pick when you say "use installation/environment 'foo'". So if you symlink your environment into |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jendker
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Pyenv needs an inventory of environments to select from in a known place -- so that it knows what to pick when you say "use installation/environment 'foo'".
So if you symlink your environment into
$PYENV_ROOT/versions
, you should be able to select it with Pyenv like any other version.