[][src]Function python_launcher::virtual_env

pub fn virtual_env() -> Option<PathBuf>

Returns the path to the activated virtual environment.

A virtual environment is determined to be activated based on the existence of the VIRTUAL_ENV environment variable.