Virtual environments and dependencies

How can both versions live on the same computer?

Examples

Worked example

Input
Projects A and B need different versions of the same library.
Expected output
Use a separate virtual environment per project.

Hints and solution

Hint 1

Write down the starting state and walk through one example by hand.

Reveal worked answer

Each environment resolves installed libraries from its own package directory.

Back to the lesson