-
Notifications
You must be signed in to change notification settings - Fork 950
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
"The installed widget Javascript is the wrong version." in fresh virtualenv #1176
Comments
Deleting the folder It might be nice to add a note in that error message that local config files may interfere with the widgets extension. |
Thanks, this issue of config files overriding other config files has been a confusing thing even for us! Let's start a FAQ with things like this in the docs. It's not just widgets, it's a general notebook extension problem. |
How integrated is Jupyter development with the virtualenv project? In my brutally honest opinion, virtualenv should automatically set the Jupyter configuration path variables if I |
@prefrontalvortex sorry for the late reply. I agree that the current jupyter extension mechanism is the source of a lot of pain. However, this is an issue with the notebook server project more than ipywidgets. In fact, we have made a Jupyter enhancement proposal for new semantics for extensions
Whith these changes, we should be better off than in the current situation. This is mostly a matter of one of us allocating the necessary cycles to the implementation. |
Closing as this is resolved. |
Whenever I try to plot Google Maps on Jupyter notebooks, this error pops up. I have already deleted all the nbextensions folders, however the error persists. Is there any other workaround? |
Can you tell us what extensions you have installed, as well as what version of ipywidgets and widgetsnbextension you have installed? Can you also send the output of
|
By the way, I'm deleting these checks in #1219 since the actual check mechanism is error-prone. |
For no reason that I could figure out, I started receiving this warning this morning. In addition the widgets would no longer appear. After a lot of experimentation, I repaired the issue by deleting the virtualenv, recreating it, and then reinstalling all my dependencies from requirements.txt. I'm up and running again, but I have no idea why that worked. |
Also hitting this error when trying to work with widgets.
|
Same here... went through and deleted all |
I'm trying to get IpyVolume up and running on my laptop, which I was able to do successfully on my desktop. Also, a fresh userspace has no problem.
Specs for my desktop system (full pip freeze). This setup works fine.
However, on this system (laptop),
ipyvolume.volshow(hdz.data)
raisesThe installed widget Javascript is the wrong version. It must satisfy the semver range ~2.1.4.
and shows nothing.
System specs:
Ubuntu 16.04
Python 3.5.2
Pip 9.0.1
ipyvolume==0.2.3
ipywidgets==6.0.0
Pip freeze out:
Steps to reproduce:
Fresh python3 virtualenv
then run the default hdz from ipyvolume tutorial.
Workarounds attempted:
pip install --upgrade ipywidgets==6.0.0b10
- just changes the Semver that it asks for..jupyter
.ipython
and.ipyvolume
because I thought there may be a config file hiding in there causing stuff to goof. No dice.~/.local/shared/jupyter
also got rid of the problem. Actually the culprit seems to be So there is something there which is causing SNAFU.~/.local/shared/jupyter/nbextensions
, which contains some .js files, resolves the problem and seems to cause no other conflicts.Related issues:
#662
Assorted Thoughts:
I've noticed before that Jupyter has a tendency to "leak" out of virtualenvs. I have some other npm stuff sitting on this system, and I wonder if they could be interfering.
Might retry with a new userspace. Since fresh user install works with no hitches, I think this strengthens my "jupyter environment is leaking" theory. But I am not sure how to rectify that.Should I raise this issue on the IPyvolume repo as well?
The text was updated successfully, but these errors were encountered: