Pyenv: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 5: Line 5:
=Overview=
=Overview=
<code>pyenv</code> is a tool that let you switch between multiple version of Python.
<code>pyenv</code> is a tool that let you switch between multiple version of Python.
<code>pyenv</code> lets you change the global Python version on a per-user basis. It also provides support for per-project Python versions. It allows you to override the Python version with an environment variables.
<code>pyenv</code> works by intercepting Python commands using shim executables injected in <code>PATH</code>, determines which Python version has been specified by your application and passes the command along to the correct Python installation.

Revision as of 21:32, 2 November 2023

External

Internal

Overview

pyenv is a tool that let you switch between multiple version of Python.

pyenv lets you change the global Python version on a per-user basis. It also provides support for per-project Python versions. It allows you to override the Python version with an environment variables.

pyenv works by intercepting Python commands using shim executables injected in PATH, determines which Python version has been specified by your application and passes the command along to the correct Python installation.