Skip to content

Gracefully handle missing tqdm package #134

Description

@NiklasMelton

change the fit functions to do this if verbose is true

  if use_tqdm:
      try:
          from tqdm import tqdm
      except ImportError:
          raise ImportError("The 'tqdm' package is required for progress bars. Install it with `pip install tqdm`.")

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions