[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: pyenv install should install version specified in .python-version file #605

Open
ProLoser opened this issue Apr 1, 2024 · 1 comment

Comments

@ProLoser
Copy link
ProLoser commented Apr 1, 2024

Is your feature request related to a problem? Please describe.
This is available on the mac version of pyenv. If a .python-version file is located then it is automatically used as the version when the user does pyenv install. On windows it seems I have to pass this version explicitly for... no reason?

Describe the solution you'd like
Right now I'm able to read the version from .python-version using pyenv version but for some reason I have to be explicit when calling pyenv install. I will try to figure out how to pass the return value of one as the argument to the other command, but it seems like something that should just work out of the box.

Describe alternatives you've considered
pyenv on mac has this feature/behavior.

Additional context
The folder I'm calling pyenv install in has a .python-version file and returns 3.10 when i call pyenv version

@ProLoser
Copy link
Author
ProLoser commented Apr 1, 2024

My bad, it's actually pyenv local that returns the correct version. Seems like pyenv install local should work but honestly i'd rather have consistent interfaces across operating systems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant