Skip to content

Virtual environments and package managers

John A Stevenson edited this page Aug 13, 2024 · 1 revision

What is a virtual environment?

  • A dedicated folder for storing all Python dependencies, separate from others on the system.
  • When you activate then environment, it tells Python to look in the folder first.

What is the difference between conda and pip?

  • conda can include code written in other languages (best for Windows)
  • pip typically requires code from other languages to be compiled on installation (more work, OK on Linux)

Links