Lesson 4.2

Virtual environments and dependencies

An environment per project, with pinned versions, is what stops "it worked yesterday" from being a real sentence.

Duration
9m
Level
Beginner
Students
15k students

Overview

An environment per project, with pinned versions, is what stops "it worked yesterday" from being a real sentence.

In this lesson you will:

  • Create and activate a per-project environment
  • Pin dependencies so installs are repeatable
  • Keep environment files under version control

Resources

pandas documentation

The official reference for the tools used in this lesson.