API For pip pip freeze > requirements.txt pip install -r requirements.txt For venv python3 -m venv venv source venv/bin/activate