Check whether Python 3 is installed: `python3 –version`
Check whether pip is installed: `pip3 –version`
Install Python 3 with Homebrew: `brew install python`
Verify pip installation: `pip3 –version`
If needed, install pip with ensurepip: `python3 -m ensurepip –upgrade`
Upgrade pip: `python3 -m pip install –upgrade pip`
Use pip with Python 3: `pip3 install package_name`
If `pip3` is not found, add Homebrew to your PATH
Apple Silicon Homebrew path: `export PATH=”/opt/homebrew/bin:$PATH”`
Intel Mac Homebrew path: `export PATH=”/usr/local/bin:$PATH”`
Reload your shell configuration file after updating PATH
Verify final setup: `python3 -m pip –version`
