Skip to content
UPEEC

venv and ensurepip

Create isolated environments, and bootstrap pip into them.

Beginner
Comments 0

python -m venv .venv, then activate and pip install …. ensurepip installs pip if it's missing.

Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.

Discussion (0)

Sign in or join free to ask questions and discuss this topic.