LinuxCommandLibrary

conda-doctor

environment health checker

TLDR

Check environment health
$ conda doctor
copy
Check a specific environment
$ conda doctor --name [env_name]
copy

SYNOPSIS

conda doctor [options]

DESCRIPTION

conda doctor runs diagnostic checks on a conda environment to detect potential issues such as corrupted packages, missing files, or inconsistent package states. It verifies environment integrity by checking package metadata, file checksums, and dependency consistency.
This command is particularly useful when environments behave unexpectedly, packages fail to import, or after manual modifications to environment directories. It can identify problems that may not be obvious from package listings alone.

PARAMETERS

-n, --name name

Name of environment to check.
-p, --prefix path
Path to environment to check.

CONFIGURATION

~/.condarc

User-level conda configuration for channels, package settings, and solver options.
/opt/conda/.condarc
System-wide conda configuration.

SEE ALSO

conda(1), conda-info(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard