venv and ensurepip
Create isolated environments, and bootstrap pip into them.
Beginner
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.