Difference between revisions of "Python pyenv"
From John Freier
(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...") |
(No difference)
|
Latest revision as of 15:26, 19 January 2023
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