Skip to content

[FAQ Bot] NEW: How to fix the tqdm warning: "IProgress not found" in Jupyter (missing i - #475

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-474
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-474

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

✨ FAQ NEW

Course: machine-learning-zoomcamp
Section: misc (This is an interactive Jupyter notebook rendering/progress-bar issue, which matches the misc section’s scope for notebook/Jupyter and cross-cutting environment tooling problems.)
Related Issue: #474

Question

How to fix the tqdm warning: "IProgress not found" in Jupyter (missing ipywidgets)?

Decision Rationale

The specific Jupyter warning about tqdm rendering and missing ipywidgets is not present in the existing FAQs, and it’s a notebook/Jupyter tooling issue that fits under this course’s miscellaneous environment support.

Placement Details

  • Section ID: misc
  • Sort Order: End of section
  • Filename Slug: tqdm-iProgress-not-found-ipywidgets

🤖 Generated by FAQ Bot

Closes #474

@k-candidate

Copy link
Copy Markdown

⚠️ Merge #476 first

@saeidsoheily

Copy link
Copy Markdown

This warning occurs when tqdm tries to display an interactive progress bar in Jupyter Notebook or JupyterLab, but the required ipywidgets package is missing, outdated, or not correctly enabled.

Recommended fix: Install ipywidgets
If you're using pip, run:
python -m pip install --upgrade ipywidgets tqdm

If you're using uv:
uv add ipywidgets tqdm

If you're using Conda:
conda install -c conda-forge ipywidgets tqdm

Important: Install ipywidgets in the Python environment used by your Jupyter notebook kernel, not necessarily the environment used by your terminal.

You can check the kernel's Python executable inside a notebook:

import sys
print(sys.executable)

Or install directly into the active notebook kernel using:
%pip install --upgrade ipywidgets tqdm

After installation, restart the Jupyter kernel and refresh the notebook page if necessary.

This branch has not been deployed

No deployments
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 this pull request may close these issues.

[FAQ] TqdmWarning: IProgress not found. Please update jupyter and ipywidgets when importing tqdm

2 participants