Skip to content

Python ​

Python

Installation ​

bash
brew install python

Upgrade packages ​

bash
pip3 install --upgrade setuptools
pip3 install --upgrade pip

Create virtual environment ​

bash
python3 -m venv venv

# Activate environment
source venv/bin/activate

# Deactivate environment
deactivate