pip is Python's package manager. Virtual environments (venv) isolate each project's dependencies to avoid version conflicts. From Cerewro you can manage the full Python environment lifecycle from the chat.
python -m venv .venv
.venv\Scripts\Activate.ps1 # Windows PowerShell
source .venv/bin/activate # Linux/Mac
| Action | Command |
|---|---|
| Install package | pip install requests |
| Install specific version | pip install Django==4.2.0 |
| Install from requirements | pip install -r requirements.txt |
| Export dependencies | pip freeze > requirements.txt |
| Upgrade package | pip install --upgrade requests |
| List installed | pip list |
| Package info | pip show requests |
uv is a Python package installer written in Rust, 10-100x faster than pip. Install it with pip install uv and use it with uv pip install requests.