The terminal progress bar can lead to a large memory usage in Jupyter notebooks. At least that was the case a few years ago, not sure if it is fixed now (or even considered a bug).
It is a bit surprising to me that you get the same error with both HtmlProgressBar
and VdomProgressBar
. Makes me wonder if IPython widgets work at all in VS Code. Maybe you can try the following code?
from ipywidgets import interact
def f(x):
return x
interact(f, x=10);
That should give you a slider (that doesn’t do much except for creating a widget).
I’m not a user of VS Code, but my understanding is that it requires plugins for specific languages features? Could you provide a list of those plugins that you are using? You also mentioned PyCharm, do you get the exactly same error with that IDE? But if you launch an independent Jupyter Notebook instance it is fine?