Skip to content

Why does pyenv shim a version of python it didn't install? #2840

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

You must be logged in to vote

Pyenv creates shims for all executables that exist in Pyenv-managed installations.
Indeed, if you don't have any Pyenv-managed installations -- e.g. right after installaing Pyenv, or if you uninstall them all -- there would be no shims at all.

That's because Pyenv needs a facility to redirect them if any of the ways to select an alternative version is activated (the PYENV_VERSION envvar and .python-version files).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AFlowOfCode
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