-
Notifications
You must be signed in to change notification settings - Fork 963
Description
I just can't seem to set up an environment that will work with ipywidgets. Errors are reminiscent of earlier bug reports (such as #1003), altho all the version numbers are higher:
python 3.6.3
jupyter_core 4.3.0
jupyter_client 5.1.0
ipykernel 4.6.1
ipython 6.2.1
notebook 5.1.0
ipywidgets 7.0.1
widgetsnbextension 3.0.3
nbformat 4.4.0
Then the simplest possible ipywidget attempt in the notebook:
import matplotlib.pyplot as plt
from ipywidgets import interact
#%matplotlib inline
plt.show()
def f(n):
# plt.plot([0,1,2],[0,1,n])
pass
interact(f,n=(0,10));
Produces the following error report in the output:
Failed to display Jupyter Widget of type interactive.
If you're reading this message in Jupyter Notebook or JupyterLab, it may mean that the widgets JavaScript is still loading. If this message persists, it likely means that the widgets JavaScript library is either not installed or not enabled. See the Jupyter Widgets Documentation for setup instructions.
If you're reading this message in another notebook frontend (for example, a static rendering on GitHub or NBViewer), it may mean that your frontend doesn't currently support widgets.
ipywidgets looks so cool! What do I need to do to get it working?
Thanks for your great work.
- lonce