Ctrl K

Fix tqdm IProgress Warning in VS Code

Resolve the TqdmWarning: IProgress not found by upgrading jupyter, ipywidgets, and related packages.

This warning appears when tqdm cannot find the ipywidgets progress bar extension in the current Jupyter environment. The fix is to upgrade the relevant packages inside the active venv.

The warning

TqdmWarning: IProgress not found. Please update jupyter and ipywidgets.
See https://ipywidgets.readthedocs.io/en/stable/user_install.html

Fix

Run this inside the venv the notebook kernel uses. In VS Code, activate the venv in the terminal first, or run it directly in a notebook cell.

pip install --upgrade pip jupyter ipywidgets widgetsnbextension jupyterlab_widgets tqdm

After the install, reload the VS Code window and rerun the kernel:

  • Ctrl+Shift+P -> Developer: Reload Window
  • Then restart the kernel from the notebook toolbar