-
Notifications
You must be signed in to change notification settings - Fork 47
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
Make version mismatches visible to users #128
Comments
|
@jiagengliu I just noticed this:
If you see that then your notebook environment is definitely not using Bokeh 2.3 you should first make sure that you have the Bokeh 2.3 installed in the same env as the jupyterlab. E.g. you can check |
Thank you! I checked and weirdly enough, it says Bokeh 2.3.0. See below. I only use pip to install packages and I don't have conda or other virtualenvs. |
I checked the browser JS and see the following error messages.
|
There seems to be something really messed up in this environment. Can you try installing all of the following in a clean env?
|
I think the old bokeh.js is sticking around in the notebook. Can you try clearing the notebook, saving, then reload the browser tab and try again. |
Thank you! I restarted the browser and it worked. I never thought that the problem is because I seldom close the browser. Thanks again for the rapid response. I will close it now. |
We should still try to figure out a fix here, a new version of bokeh should override the old one. The problem is particularly bad in Jupyterlab where an old version of bokeh in one tab may override the newer version in another if it is loaded first. |
I would be satisfied to simply make the error message about the mismatch visible within the notebook. That ought to give users something concrete to search or, or we could even suggest a course of action there. |
I encounter the problem again today. The reason seems to be that sometimes I use Windows WSL to ssh to a server and use Jupyter and sometimes use Jupyter on my local WSL. My local machine uses the 2.2.3 version and the server uses the 3.0.0 version, so the browser probably memorizes it and does not switch? I upgrade the local version to 3.0.0 now, but I think it might be useful info. Thanks again! |
Hi! Thank you so much for providing the brilliant package.
Matplotlib inline works in my Jupyterlab notebook, but not Bokeh (or Holoviews). See the screenshot below. I am able to get the "BokehJS 2.2.3 successfully loaded" message when I re-run the code cell to import Bokeh, but there is still no figure output. I am using JupyterLab 3.0.12, Bokeh 2.3.0, Python 3.8.5 on Ubuntu 20.04. There is no particular output in Jupyter's command line, either. I wonder what might be the reason? Thank you!
The text was updated successfully, but these errors were encountered: