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.

Taught byTomas BergPython · pandas · System design · Distributed systems
9m Beginner 15,201 students

Overview

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

What this lesson covers

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

This lesson sits in Reproducible Workflows, part of Python for Data Work. It assumes what came before it and leads directly into the next lesson in the module.

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