PythonVirtual Environments & Package Management

55 items

1

Inspecting Installed Packages with pip

Slides / Video
2

Installing and Managing Packages with pip

Slides / Video
3

How venv Changes PATH and site-packages

Slides / Video
4

Creating and Activating a venv

Slides / Video
5

Why Virtual Environments Exist

Slides / Video
6

Dependency Conflicts and pip's Resolver

Slides / Video
7

Isolating CLI Tools with pipx

Slides / Video
8

Editable Installs with pip install -e

Slides / Video
9

pipenv and poetry Overview

Quiz
10

Why Use Virtual Environments

Quiz
11

Editable Installs

Quiz
12

The --user Install Flag

Quiz
13

Activating an Environment

Quiz
14

Lock Files and Reproducibility

Quiz
15

Creating a venv

Quiz
16

Upgrading and Uninstalling

Quiz
17

venv vs virtualenv vs conda

Quiz
18

Generating requirements.txt

Quiz
19

Installing from requirements.txt

Quiz
20

Version Specifiers in pip

Quiz
21

Checking Versions

Quiz
22

How Activation Changes PATH

Quiz
23

The Role of PyPI

Quiz
24

Installing Packages with pip

Quiz
25

Semantic Versioning

Quiz
26

Transitive Dependencies

Quiz
27

The pyproject.toml File

Quiz
28

Listing Installed Packages

Quiz
29

Beyond pip: pipenv, poetry, conda

Slides / Video
30

Pinning for Reproducible Environments

Slides / Video
31

Wheels vs Source Distributions

Slides / Video
32

Installing from requirements.txt

Flashcard
33

The requirements.txt File

Flashcard
34

Avoiding System Python Installs

Flashcard
35

Listing and Inspecting Packages

Flashcard
36

Semantic Versioning Basics

Flashcard
37

Transitive Dependencies and Conflicts

Flashcard
38

Uninstalling Packages

Flashcard
39

pip vs python -m pip

Flashcard
40

Global vs Per-Project Installs

Flashcard
41

PyPI: The Default Index

Flashcard
42

Upgrading Packages

Flashcard
43

How Activation Changes PATH

Flashcard
44

Activating and Deactivating

Flashcard
45

What Is a Virtual Environment

Flashcard
46

Alternative Tooling Overview

Flashcard
47

Editable Installs

Flashcard
48

The site-packages Directory

Flashcard
49

Freezing Dependencies

Flashcard
50

Version Constraint Operators

Flashcard
51

Installing Packages with pip

Flashcard
52

Creating an Environment with venv

Flashcard
53

PyPI and How pip Downloads Packages

Slides / Video
54

Version Specifiers in Requirements

Slides / Video
55

Managing Dependencies with requirements.txt

Slides / Video
FlashcardIntermediate

Global vs Per-Project Installs

Global installs affect the whole system; per-project installs stay inside a virtual environment.

Question

What is the difference between global and per-project package installation?

Click to reveal answer