bin folder

The folder, on macOS and Linux, holding a virtual environment's python, pip, activate script and any installed commands; on Windows it is called Scripts.

In more detail

Activation puts this folder first on PATH, which is all that makes python mean the environment's interpreter. Running .venv/bin/python directly uses the environment without activating it.

Related terms

Taught in

References