Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is not the way you're supposed to be using pyenv

You're supposed to install a specific version of python in a specific place, with a specific name. Say, /usr/local/python-3.10.6

Use pyenv to use that python. Control that by creating a `.python-version` file that says 3.10.6

You now have a project that uses 3.10.6. Unless, of course, somebody installs a different version in that path - at which point you've got bigger issues

Using pyenv to use `/usr/bin/python3` and hoping for the best misses the point



> This is not the way you're supposed to be using pyenv

Because that’s not what the conversation is about. It’s about virtual environments.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: