Tuesday, April 19, 2022

[SOLVED] How to upgrade version of pyenv on Ubuntu

Issue

I wanted to install python 3.10 but that version is not available on pyenv version list. checked by pyenv install --list. People suggested to upgrade pyenv that but I do not see help related to updating pyenv.


Solution

pyenv isn't really 'installed' in a traditional sense, it's just a git checkout. So all you have to do to update is

cd ~/.pyenv
git pull

That should also update the list of available python versions.



Answered By - Sören
Answer Checked By - Timothy Miller (WPSolving Admin)