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.

9mBeginner15,201 students
Video thumbnail for Virtual environments and dependencies

Sign in to watch this lesson

Browsing is free. Create an account to play videos and track your progress.

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