Skip to content

Fix tqdm IProgress Warning in VS Code

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.

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

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.

Terminal window
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