Skip to content

Use local venv with .python-version #2663

Answered by native-api
Jendker asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jendker
Comment options

Answer selected by Jendker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants