Skip to content
\n

Can anybody explain how/why this might happen?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

Pyenv creates shims for all executables that exist in Pyenv-managed installations.
\nIndeed, 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.

\n

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).

","upvoteCount":1,"url":"https://github.com/orgs/pyenv/discussions/2840#discussioncomment-7590723"}}}
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