-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Why pyenv?
Alexander Studnitskiy edited this page Mar 6, 2014
·
2 revisions
- Let you change the global Python version on a per-user basis.
- Provide support for per-project Python versions.
- Allow you to override the Python version with an environment variable.
- Search commands from multiple versions of Python at a time. This may be helpful to test across Python versions with tox.
- Depend on Python itself. pyenv was made from pure shell scripts. There is no bootstrap problem of Python.
-
Need to be loaded into your shell. Instead, pyenv's shim
approach works by adding a directory to your
$PATH
. - Manage virtualenv. Of course, you can create virtualenv yourself, or pyenv-virtualenv to automate the process.