Upgrade Python Mac Link
While downloading the installer seems like the intuitive "Windows-style" approach, on macOS, it often leads to multiple conflicting versions, broken symlinks, and PATH issues.
rm -rf venv python3 -m venv venv source venv/bin/activate pip install -r requirements.txt upgrade python mac
brew install pyenv pyenv install 3.12.2 # (Or whatever latest version is current) pyenv global 3.12.2 While downloading the installer seems like the intuitive
source ~/.zshrc
pip3 install --upgrade jupyter python3 -m ipykernel install --user --name=python3 upgrade python mac
brew install pyenv
After upgrading, users often type pip install only to get an error or see it installing into an old version.