Jupyter and Ipywidgets up to date, yet ImportError: IntProgress not found. Please update jupyter and ipywidgets.
See original GitHub issueHello,
I have been getting this error when trying to use Tpot library in a jupyter notebook.
tpot.TPOTClassifier.fit(x_train, y_train)
Warning: xgboost.XGBClassifier is not available and will not be used by TPOT.
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
/usr/local/lib/python3.7/site-packages/tqdm/_tqdm_notebook.py in status_printer(_, total, desc, ncols)
102 if total:
--> 103 pbar = IntProgress(min=0, max=total)
104 else: # No total? Show info style bar with no progress tqdm status
NameError: name 'IntProgress' is not defined
During handling of the above exception, another exception occurred:
ImportError Traceback (most recent call last)
<ipython-input-7-c5de40c7b1e7> in <module>
----> 1 tp.fit(x_train, y_train)
/usr/local/lib/python3.7/site-packages/tpot/base.py in fit(self, features, target, sample_weight, groups)
733
734 self._pbar = tqdm(total=total_evals, unit='pipeline', leave=False,
--> 735 disable=not (self.verbosity >= 2), desc='Optimization Progress')
736
737 try:
/usr/local/lib/python3.7/site-packages/tqdm/_tqdm_notebook.py in __init__(self, *args, **kwargs)
210 # Replace with IPython progress bar display (with correct total)
211 self.sp = self.status_printer(
--> 212 self.fp, self.total, self.desc, self.ncols)
213 self.desc = None # trick to place description before the bar
214
/usr/local/lib/python3.7/site-packages/tqdm/_tqdm_notebook.py in status_printer(_, total, desc, ncols)
109 # #187 #451 #558
110 raise ImportError(
--> 111 "IntProgress not found. Please update jupyter and ipywidgets."
112 " See https://ipywidgets.readthedocs.io/en/stable"
113 "/user_install.html")
ImportError: IntProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
I have followed the ipywidgets installation instructions (https://ipywidgets.readthedocs.io/en/stable/user_install.html), updated conda, but despite all the effort this problem still remains.
The jupyter version:
jupyter core : 4.5.0
jupyter-notebook : 6.0.0
qtconsole : 4.5.2
ipython : 7.6.1
ipykernel : 5.1.1
jupyter client : 5.3.1
jupyter lab : 1.0.4
nbconvert : 5.5.0
ipywidgets : 7.5.1
nbformat : 4.4.0
traitlets : 4.3.2
Thank you in advance for any suggestions how to get around this!
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (2 by maintainers)
Top Results From Across the Web
IProgress not found. Please update jupyter and ipywidgets ...
Run jupyter notebook in the console to turn on the notebooks server and create a new notebook. Run this line in a new...
Read more >FloatProgress not found. Please update jupyter and ipywidgets
I am getting this error in UNet learner after changing resnet34 arch by xresnet34.
Read more >IProgress not found. Please update jupyter and ipywidgets ...
I am using tqdm() module in my code and am getting the following error: for mu, s in tqdm( ... has no attribute...
Read more >Python – Tqdm 4.28.1 in Jupyter Notebook “IntProgress not found ...
import tqdm for i in tqdm.tqdm_notebook(range(2, int(total_number)//20):i. ERROR: IntProgress not found. Please update jupyter and ipywidgets. ImportError: ...
Read more >IProgress not found. Please update jupyter and ipywidgets ...
Answer a question I am using jupyter notebook and installed ipywidgets==7.4.2 widgetsnbextension pandas-profiling=='.0.0 and also I ran: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
pip install --upgrade jupyter_client resolved this problem for me.
And you can double-check that ipywidgets is working fine by trying to import that yourself: