1. Create venv python3 -m venv .venv 2. Activate venv source .venv/bin/activate Now everything you install will be inside a virtual env not installed globally.