Skip to content
On this page

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