How to use pyenv to manage Python versions
As a Python developer, I install new Python versions when they come out. We get new features and performance improvements, but we don't always want to use the latest version for everything. Some projects use older Python versions, and other projects must use a specific Python version. If you need to install multiple Python versions, going the ol' installer route isn't the best idea. You end up with multiple Python executables in your PATH, such as python, python2, python3, python3.7, and so on. Also it becomes really tricky to distinguish minor versions, such as python3.10.3 from python3.10.4. So, pyenv to the rescue! This command-line tool will handle installing and running specific Python versions! Their README file actually explains how it works and how to install it really well. Give it a read! As a note, for Windows I've often use the pyenv-win project, which has worked well for me. To install pyenv on MacOS, I've just gone for Homebrew: After installing you'll have to add a few t
The Teclado Blog undefined
Explore this link on the map →related reading
- Python and macOS - davepblog.davep.org
- Mediumitnext.io
- Niels Cautaerts - Python dependency management is a dumpster firenielscautaerts.xyz
- Python Virtual Environments: A Primer – Real Pythonrealpython.com
- Managing environments | Documentation | Poetry - Python dependency management and packaging made easypython-poetry.org
- The definitive guide to Python virtual environments with conda | WhiteBox Blogwhiteboxml.com
- uvdocs.astral.sh
- Get Startedpytorch.org
- uv: An In-Depth Guide to Python's Fast and Ambitious New Package Managersaaspegasus.com
- uv: An extremely Fast Python Package Manager :: Jane Streetjanestreet.com
- Previous PyTorch Versionspytorch.org
- Managing environments — conda 26.5.4.dev52 documentationdocs.conda.io