pyenv install <version>
pyenv global <version>
pyenv local <version>
or
echo "3.8.13" > .python-version
pyenv install < .python-version
cd <my-project>
python -m venv venv
source venv/bin/activate
cd <my-project>
source venv/bin/activate
python --version
pyenv versions
pyenv install --list
or
pyenv install --list | grep 3.8
https://github.com/pyenv/pyenv/issues/1764
https://github.com/pyenv/pyenv/issues/1740