Review the environment metadata file.
Section: Inspect the environment
Inspect pyvenv.cfg
bash
bash
cat .venv/pyvenv.cfgExplanation
This file records key settings like the base home interpreter path and whether system site packages are visible.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Inspect the environment
Show active Python version
Print the Python version from the current environment.
Show interpreter executable path
Print the executable path for the active interpreter.
Show sys.prefix and sys.base_prefix
Confirm whether you are inside a venv.