- Install pyenv
https://github.com/pyenv/pyenv
brew install pyenv
which pyenv # check
// bash_profile
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
- Install python 3.11.3
- Set v3.11.3 python as local
pyenv local 3.11.3
python --version # check
- Install pipenv
pip install pipenv
which pipenv # check
- Install libraries
pipenv install
pipenv install --dev
- Run
- Update pyenv
brew upgrade pyenv
pyenv install --list # check
- Install python
- Set v3.x.x python as local
pyenv local 3.x.x
python --version # check