exception composer.utils.MissingConditionalImportError(extra_deps_group, conda_package, conda_channel='conda-forge')[source]#

Handles errors for external packages that might not be installed.

  • extra_deps_group (str) โ€“ the pip package group, found in For example, nlp for mosaicml[nlp].

  • conda_package (str, optional) โ€“ The package(s) to install if using conda.

  • conda_channel (str, optional) โ€“ The conda channel to install packages from. Set to None if the package is not published on conda and must be installed via pip.