Skip to content

Warning about missing IProgress #423

Open
@rubencalje

Description

@rubencalje

When I install nlmod in a new environment, and want to import nlmod, I get to see the following warning:

C:\Users\Ruben\miniconda3\envs\meijendel\Lib\site-packages\tqdm\auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
  from .autonotebook import tqdm as notebook_tqdm

Can we do something that this warning does not show up when jupyter notebook is not installed? For example check if ipywidgets is installed, and if not, just import the regular tqdm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions