-
Notifications
You must be signed in to change notification settings - Fork 224
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
"Error displaying widget" using Jupyter Lab 1.0.2 #130
Comments
Could you please share the content of the javascript console? |
@SylvainCorlay I am new to Jupyter, so I am not sure what you mean. Do you want me to run the kernel in a Code Console instead of the Notebook, and share the output? Or is their another console that I can use for debugging? |
Interesting, I had a similar error today after waking up my PC from Standby. It didn't happen before the update to v1.0.2. But it worked nicely after restarting the kernel. I will keep an eye on the is console in case it happens again! @neoblizz JavaScript is used to provide the interactivity in the web browser. Every web browser comes with developer tools which includes a JavaScript console. For instance in chrome you can find them in the browser menu "Tools - developer tools" or just press [F12] when you are in the jupyterlab tab of your browser. In the developer tools you can find the "console". If understand @SylvainCorlay right, you should get some output in this "console" when you run your jupyter cell. |
Ah, that makes a lot of sense! @scimax I was thinking of Jupyterlab's console. Here's the output of my chrome console: (I am not sure if there was a nicer way to export the console output, I just copy/pasted it, and its long...)
|
@SylvainCorlay any suggestions? |
I'm also experiencing this issue so a fix or workaround would be great. |
I also have this problem. |
Which versions of |
@martinRenou I was able to get it working by updating
|
I had the same problem. Finally I made it work after a few upgrades. Here is what I did in upgrade order:
Then it worked after the following two upgrades. I am not sure which one was the key step. Maybe try both since we are upgrading anyway.
Good luck! |
I could get it only to work using ipympl 0.4.0 and jupyter-matplotlib 0.5.0. Curiously, updating ipympl actually downgraded my jupyter-matplotlib extension and I had to run labextension update TWICE to get it from 0.4.0 -> 0.4.1 -> 0.5.0. Strange. So, this worked for me (starting from a previous installation):
Since ipympl 0.4.0 is in conda-forge, a minimal fresh installation can be (currently) created with:
|
The above worked for me with one addition (note that I did not do this in a new fresh environment). I ended up running Also a note to others that may be getting tripped up with this. I previously thought I had the latest ipympl because Finally, I'm sure everyone agrees, but this really needs to be made much more seamless. Without nice plots jupyterlab is pretty lacking. |
Possibly related to #124, I am trying to run a super simple example after following the installation instructions:
nodejs info:
Jupyter info:
Simple example:
Error:
Not sure what else I need, or where a version mismatch is, any help is appreciated. Thank you!
The text was updated successfully, but these errors were encountered: