:py:mod:`environment_txt` ========================= .. py:module:: conda.plugins.subcommands.doctor.health_checks.environment_txt .. autoapi-nested-parse:: Health check: Environment listed in environments.txt. Functions --------- .. autoapisummary:: conda.plugins.subcommands.doctor.health_checks.environment_txt.check_envs_txt_file conda.plugins.subcommands.doctor.health_checks.environment_txt.env_txt_check conda.plugins.subcommands.doctor.health_checks.environment_txt.fix_env_txt conda.plugins.subcommands.doctor.health_checks.environment_txt.conda_health_checks Attributes ---------- .. autoapisummary:: conda.plugins.subcommands.doctor.health_checks.environment_txt.logger .. py:data:: logger .. py:function:: check_envs_txt_file(prefix: str | os.PathLike | pathlib.Path) -> bool Checks whether the environment is listed in the environments.txt file. .. py:function:: env_txt_check(prefix: str, verbose: bool) -> None Health check action: Check if environment is in environments.txt. .. py:function:: fix_env_txt(prefix: str, args: argparse.Namespace, confirm: conda.plugins.types.ConfirmCallback) -> int Register environment in environments.txt. .. py:function:: conda_health_checks() -> collections.abc.Iterable[conda.plugins.types.CondaHealthCheck] Register the environment.txt health check.