-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
ImportError: Please install ipywidgets>=7.0.0 to use the FigureWidget class #4020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not sure what the status is of our widget with JupyterLite... has it ever worked? I.e. with Plotly 5.11 and ipywidgets 7.7? I'm not sure how JupyterLite handles federated extensions like ours :) |
In my local jupyterlite instance, I've discovered that installing So I will close out this ticket, and if anyone else stumbles across it they have a potential solution :) |
Yes it worked at some point: jupyterlite/jupyterlite#110 (comment) But currently seems broken: jupyterlite/jupyterlite#950 JupyterLite handles federated extensions the same way, and I don't think there is anything special to Plotly happening somewhere. Not sure if a later version of |
so |
Yes that was the case in these PRs, and for quite a while after:
Just tried with
A guess could be it tries to load the assets as if it was in the classic notebook. But |
I'm not sure what's happening in the screenshot above, but |
Right, but the plotly mimetype used to be rendered fine before. For a while we had to set Maybe we can try to find which version of |
Yeah, we should separately find out why the mimetype renderer is failing. I'm still unsure whether the widget ever worked though: do you remember ever seeing a cell containing just |
Not sure, but can do some digging. Happy to track that in a new issue if it is more convenient. |
Opened #4143 to continue looking into this. |
The problem is still live, my code I try many methods to solve this proble, including upgrade my pip version、upgrade ipywidges、re-install in conda command. If any process , I'll show my solve plan |
Off the back of #3686 being merged/released I wanted to revisit jupyterlite + ipywidgets + plotly, but I'm immediately failing.
Using the jupyterlite deployed here with a simple example, I get this error (which suggests ipywidgets is not installed):
Note that this example is taken from the issue above.
I feel like I must be doing something wrong, but don't understand what.
The text was updated successfully, but these errors were encountered: