1. Install `pyenv`
2. Get list of available Python versions you can use:
`pyenv install --list`
3. Install the Python version of your choice
`pyenv install 3.12.13`
4. Set the Python version
- For project folder: `pyenv local 3.12.13`
- System-wide: `pyenv global 3.12.13`