Loading...

Virtual Environment

An isolated Python install with its own packages and versions.

When to use: Every ML project; isolating dependencies per project.

Example: python -m venv .venv && .venv\Scripts\activate (Win) or source .venv/bin/activate (Mac/Linux).

More Python for ML Glossary terms