Python pyenv

From John Freier
Revision as of 16:26, 19 January 2023 by Jfreier (Talk | contribs) (Created page with "PyEnv is a small app that helps manage different python versions in the system. https://github.com/pyenv/pyenv == Install a Python version == To list all the available versi...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

PyEnv is a small app that helps manage different python versions in the system.

https://github.com/pyenv/pyenv

Install a Python version

To list all the available versions.

 pyenv install --list

To install a version

 pyenv install 3.9.14

Install location

Where are the versions of python installed.

 ~/.pyenv/versions

or

 pyenv root

Set Python version

To see all the installed versions.

 pyenv versions

This will set the local python command to a version. You can also use 'global'.

 pyenv local 3.9.14