pyvenv.cfg

The small settings file at the top of every virtual environment, recording which base Python it was made from.

In more detail

Its presence is how Python knows it is running inside a virtual environment. The standard library is not copied into the environment; pyvenv.cfg points back to the base installation instead.

Related terms

Taught in

References