Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of deprecated tqdm.tqdm_notebook #360

Closed
HiromuHota opened this issue Nov 8, 2019 · 0 comments · Fixed by #361
Closed

Use of deprecated tqdm.tqdm_notebook #360

HiromuHota opened this issue Nov 8, 2019 · 0 comments · Fixed by #361

Comments

@HiromuHota
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant