Skip to content

Use of deprecated tqdm.tqdm_notebook #360

@HiromuHota

Description

@HiromuHota

Describe the bug

tqdm.tqdm_notebook is deprecated in v4.36.0.

https://github.com/tqdm/tqdm/releases/tag/v4.36.0
tqdm/tqdm#198
tqdm/tqdm#790

To Reproduce
Steps to reproduce the behavior:

  1. Use tqdm>=4.36.0
  2. Execute like the following on Jupyter Notebook
import warnings
warnings.simplefilter("default")

corpus_parser = Parser(session, structural=True, lingual=True, visual=True, pdf_path=pdf_path)
%time corpus_parser.apply(doc_preprocessor, parallelism=PARALLEL)

Expected behavior

Use tqdm.notebook.tqdm instead of tqdm.tqdm_notebook

Error Logs/Screenshots

TqdmDeprecationWarning: This function will be removed in tqdm==5.0.0
Please use tqdm.notebook.tqdm instead of tqdm.tqdm_notebook

Environment (please complete the following information):

  • tqdm Version: [>=4.36.0]

Additional context
Add any other context about the problem here.

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