Core: learn it Step 9 of 16 on the Python Developer roadmap

Virtual environments

A virtual environment is a private folder of packages for one project. Create one with python -m venv .venv, activate it and install packages inside it, so your projects never clash.

Resources

More in Modules, pip and venv

See it on the Python Developer roadmap