talira

Simple Python version management

open sourceMITself-hostablefree

pyenv lets you switch between multiple Python versions per user or per project. Forked from rbenv and ruby-build, it is written in shell and works through shims on PATH, and it installs many distributions including CPython and PyPy.

Ways to install

Problems it solves

  • I need Python 3.9 for one project and 3.12 for another
  • stop messing with the system Python on my Mac
  • install an older Python version that Homebrew no longer has
  • set a per-project Python version that switches automatically
  • test my library against several Python versions locally
  • install PyPy alongside CPython
  • the python command points at the wrong version
  • build Python from source with the right flags without doing it by hand

Features

  • global and per-project versions
  • python-build installer
  • multiple distributions
  • env var override
  • shims

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what pyenv does.

  1. uv An extremely fast Python package and project manager, written in Rust.
  2. mise dev tools, env vars, task runner
  3. asdf Manage multiple runtime versions with a single CLI tool, extendable via plugins
  4. FVM Simple Flutter Version Management

Compare pyenv with the top 3