Also called: virtualenv, .venv
Example
Each project has its own venv, so their packages never clash.
In code
python3 -m venv .venv
source .venv/bin/activate
pip install requests
Learn more
- Tutorial: virtual environments and packagesPython docs (opens in a new tab)
- venvPython docs (opens in a new tab)
Related terms
Added 2026-11-26 · Last reviewed 2026-11-30