https://opensource.com/article/19/5/python-3-default-mac
brew install pyenv
Add pyenv to your config file (.zshrc or .bash_profile)
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init --path)"\nfi' >> ~/.zshrc
Determine all versions of python available
pyenv install --list
Install a version and set it to global
pyenv install 3.10.6
pyenv global 3.10.6
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.zshrc
brew install py2cairo
brew install pygobject3
pip install termcolors
pip install notebook
pip install --upgrade pip
Python
- FastAPI (tiangolo.com)
- microsoft/ptvsd: Python debugger package for use with Visual Studio and Visual Studio Code. (github.com)
pip3 install pipenv
/usr/local/bin/pipenv
Mypy