Download the latest version of Python from python.org/downloads.
macOS:
Install via Homebrew:
brew install pythonOr download the macOS installer from python.org/downloads/macos.
Windows:
Download and run the installer from python.org/downloads/windows. Make sure to check "Add Python to PATH" during installation.
Linux (Ubuntu/Debian):
sudo apt update && sudo apt install python3Or see python.org/downloads/source for source builds.
pip is included with Python 3.4+. To verify it's installed:
pip --versionIf pip is missing, see the official pip installation guide.
macOS/Linux:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3 get-pip.pyWindows:
python -m ensurepip --upgradepython --version
pip --versionpip install -r requirements.txt