Skip to content

Question: symlinks in versions (e.g., 3.11 --> 3.11.8) #2962

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

You must be logged in to vote

I have tested and seen that changing the symbolic link of python in the virtualenvs bin dir to point to the correct python version in .pyenv/versions is enough to make the virtual environments work fine.

* Question: is this OK or might there be issues following these lines?

Can't say. You'll have better luck asking the maintainers of the tool that you create environments with (probably virtualenv or venv).

is it possible to create symbolic links in the .pyenv/versions directory?

It is. That's how e.g. unqualified aliases to Pyenv-Virtualenv environments work.

Replies: 1 comment

Comment options

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