pip
Installation
SKILL.md
pip
Use this skill for Python dependency management with safe defaults and reproducible results.
Scope
- Create and maintain project-local virtual environments
- Install, upgrade, uninstall, and inspect Python packages
- Manage
requirements.txtand lock-like pinned outputs (pip freeze) - Troubleshoot common pip failures (
externally-managed-environment, resolver conflicts, wheel/build failures)
Safety Defaults
- Prefer isolated installs:
- project:
python3 -m venv .venv - app CLI:
pipx(if available)
- project:
- Avoid global installs unless user explicitly asks.
- Prefer
python3 -m pip ...instead of barepipto avoid interpreter mismatch. - Never run unknown
setup.pyor arbitrary install scripts without explicit user approval.