Ipywidgets: widgets JavaScript library is either not installed or not enabled

Created on 24 Oct 2017  Â·  17Comments  Â·  Source: jupyter-widgets/ipywidgets

I am trying to run a notebook on my MAC computer and I keep getting this error for widgets
"
Failed to display Jupyter Widget of type IntText.
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."

I have gone into terminal and did conda install ipywidgets and even did the enable

This the output from the extension list
0587364245:~ vivianmadu$ jupyter nbextension list
Known nbextensions:
config dir: /Users/vivianmadu/.jupyter/nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: OK
config dir: /Users/vivianmadu/anaconda3/etc/jupyter/nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: OK
0587364245:~ vivianmadu$

resolved-locked

Most helpful comment

It looks like you have it installed twice - it may be that you have an older version taking precedence. Can you do jupyter nbextension uninstall --py widgetsnbextension and jupyter nbextension uninstall --py --sys-prefix widgetsnbextension, after which jupyter nbextension list should not list the widget extension. Then I would suggest installing to sys-prefix with jupyter nbextension install --sys-prefix --py widgetsnbextension.

This is assuming you have widgetsnbextension 3 and ipywidgets 7

All 17 comments

It looks like you have it installed twice - it may be that you have an older version taking precedence. Can you do jupyter nbextension uninstall --py widgetsnbextension and jupyter nbextension uninstall --py --sys-prefix widgetsnbextension, after which jupyter nbextension list should not list the widget extension. Then I would suggest installing to sys-prefix with jupyter nbextension install --sys-prefix --py widgetsnbextension.

This is assuming you have widgetsnbextension 3 and ipywidgets 7

0587364245:~ vivianmadu$ jupyter nbextension list
Known nbextensions:
config dir: /Users/vivianmadu/.jupyter/nbconfig
notebook section
jupyter-js-widgets/extension enabled
- Validating: OK
0587364245:~ vivianmadu$

After following all the steps you have outlined

Does it work now?

No, still giving the same error

On Tue, Oct 24, 2017 at 5:27 PM, Jason Grout notifications@github.com
wrote:

Does it work now?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyter-widgets/ipywidgets/issues/1776#issuecomment-339137288,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXxdJIMrrGFETjnt2bRo_U_1T5D2FU32ks5svlZSgaJpZM4QFFjZ
.

What versions of notebook, ipywidgets, and widgetsnbextension do you have?

0587364245:~ vivianmadu$ jupyter notebook --version

5.0.0

ipywidgets: 7.0.3-py_0 conda-forge --> 7.0.0-py36h24d3910_0

and how do I check the version of widgetsnbextsion

On Tue, Oct 24, 2017 at 5:37 PM, Jason Grout notifications@github.com
wrote:

What versions of notebook, ipywidgets, and widgetsnbextension do you have?

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyter-widgets/ipywidgets/issues/1776#issuecomment-339140264,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXxdJMl_G7Vh2v_SLsN6kp-n0sXdgfB8ks5svliNgaJpZM4QFFjZ
.

and how do I check the version of widgetsnbextsion

If you're using conda, you should be able to do conda list.

or import widgetsnbextension; print(widgetsnbextension.__version__)

packages in environment at /Users/vivianmadu/anaconda3:

#

alabaster 0.7.10 py36h174008c_0

anaconda custom py36ha4fed55_0

anaconda-client 1.6.5 py36h04cfe59_0

anaconda-navigator 1.6.9 py36ha31b149_0

anaconda-project 0.8.0 py36h99320b2_0

appnope 0.1.0 py36hf537a9a_0

appscript 1.0.1 py36h9e71e49_1

asn1crypto 0.22.0 py36hb705621_1

astroid 1.5.3 py36h1333018_0

astropy 2.0.2 py36hf79c81d_4

babel 2.5.0 py36h9f161ff_0

backports 1.0 py36ha3c1827_1

backports.shutil_get_terminal_size 1.0.0 py36hd7a2ee4_2

beautifulsoup4 4.6.0 py36h72d3c9f_1

bitarray 0.8.1 py36h20fa61d_0

bkcharts 0.2 py36h073222e_0

blaze 0.11.3 py36h02e7a37_0

bleach 2.0.0 py36h8fcea71_0

bokeh 0.12.7 py36hf2e3fb6_1

boto 2.48.0 py36hdbc59ac_1

bottleneck 1.2.1 py36hbd380ad_0

ca-certificates 2017.08.26 ha1e5d58_0

cairo 1.14.10 h7d8fbd7_5

certifi 2017.7.27.1 py36hd973bb6_0

cffi 1.10.0 py36h880867e_1

chardet 3.0.4 py36h96c241c_1

click 6.7 py36hec950be_0

cloudpickle 0.4.0 py36h13b7e56_0

clyent 1.2.2 py36hae3ad88_0

colorama 0.3.9 py36hd29a30c_0

conda 4.3.30 py36h173c244_0

conda-build 3.0.22 py36hcb85c65_0

conda-env 2.6.0 h36134e3_0

conda-verify 2.0.0 py36he837df3_0

contextlib2 0.5.5 py36hd66e5e7_0

cryptography 2.0.3 py36h22d4226_1

curl 7.55.1 h7601780_3

cycler 0.10.0 py36hfc81398_0

cython 0.26.1 py36hd51f8eb_0

cytoolz 0.8.2 py36h290905f_0

dask 0.15.2 py36h4a50f7f_0

dask-core 0.15.2 py36h151e743_0

datashape 0.5.4 py36hfb22df8_0

dbus 1.10.22 h50d9ad6_0

decorator 4.1.2 py36h69a1b52_0

distributed 1.18.3 py36h46ea802_0

docutils 0.14 py36hbfde631_0

entrypoints 0.2.3 py36hd81d71f_2

et_xmlfile 1.0.1 py36h1315bdc_0

expat 2.2.4 h8f26bf8_1

fastcache 1.0.2 py36h8606a76_0

filelock 2.0.12 py36h0d0b4fb_0

flask 0.12.2 py36h5658096_0

flask-cors 3.0.3 py36h7387b97_0

fontconfig 2.12.4 hc5e92fd_0

freetype 2.8 h143eb01_0

get_terminal_size 1.0.0 h7520d66_0

gettext 0.19.8.1 hb0f4f8b_2

gevent 1.2.2 py36ha70b9d6_0

glib 2.53.6 ha08cb78_1

glob2 0.5 py36h12393a9_0

gmp 6.1.2 h4a9834d_0

gmpy2 2.0.8 py36h7ef02cb_1

graphite2 1.3.10 h233cf8b_0

greenlet 0.4.12 py36hf09ba7b_0

gsl 2.2.1 hbdf3209_2

h5py 2.7.0 py36h6400cee_1

harfbuzz 1.5.0 h6db888e_0

hdf5 1.10.1 h6090a45_0

heapdict 1.0.0 py36h27a9ac6_0

html5lib 0.999999999 py36h79312fd_0

icu 58.2 hea21ae5_0

idna 2.6 py36h8628d0a_1

imageio 2.2.0 py36h5e01289_0

imagesize 0.7.1 py36h3495948_0

intel-openmp 2018.0.0 hdd0ccc9_7

ipykernel 4.6.1 py36h3208c25_0

ipython 6.1.0 py36hf612aae_1

ipython_genutils 0.2.0 py36h241746c_0

ipywidgets 7.0.0 py36h24d3910_0

isort 4.2.15 py36hceb2a01_0

itsdangerous 0.24 py36h49fbb8d_1

jbig 2.1 h4d881f8_0

jdcal 1.3 py36h1986823_0

jedi 0.10.2 py36h6325097_0

jinja2 2.9.6 py36hde4beb4_1

jpeg 9b haccd157_1

jsonschema 2.6.0 py36hb385e00_0

jupyter_client 5.1.0 py36hf6c435f_0

jupyter_console 5.2.0 py36hccf5b1c_1

jupyter_core 4.3.0 py36h93810fe_0

jupyterlab 0.27.0 py36hd3092eb_2

jupyterlab_launcher 0.4.0 py36h93e02e9_0

krb5 1.14.2 h7298e6d_1

lazy-object-proxy 1.3.1 py36h2fbbe47_0

libcxx 4.0.1 h579ed51_0

libcxxabi 4.0.1 hebd6815_0

libedit 3.1 hb4e282d_0

libffi 3.2.1 hd939716_3

libgfortran 3.0.1 h93005f0_2

libiconv 1.15 h99df5da_5

libpng 1.6.32 hce72d48_2

libsodium 1.0.13 hba5e272_2

libssh2 1.8.0 h1218725_2

libtiff 4.0.8 h8cd0352_9

libxml2 2.9.4 hbd0960b_5

libxslt 1.1.29 h95a2935_5

llvmlite 0.20.0 py36_0

locket 0.2.0 py36hca03003_1

lxml 3.8.0 py36h1003d81_0

markupsafe 1.0 py36h3a1e703_1

matplotlib 2.0.2 py36h507e440_1

mccabe 0.6.1 py36hdaeb55d_0

mistune 0.7.4 py36hccd6237_0

mkl 2018.0.0 hc285769_4

mkl-service 1.1.2 py36h7ea6df4_4

mpc 1.0.3 hc455b36_4

mpfr 3.1.5 h7fa3772_1

mpmath 0.19 py36h9185fea_2

msgpack-python 0.4.8 py36h46767b2_0

multipledispatch 0.4.9 py36hc5f92b5_0

navigator-updater 0.1.0 py36h7aee5fb_0

nbconvert 5.3.1 py36h810822e_0

nbformat 4.4.0 py36h827af21_0

ncurses 6.0 ha932d30_1

networkx 1.11 py36he1dbd48_0

nltk 3.2.4 py36h27d1ea0_0

nodejs 6.11.0 0 conda-forge

nose 1.3.7 py36h73fae2b_2

notebook 5.0.0 py36h462289e_2

numba 0.35.0 np113py36_6

numexpr 2.6.2 py36h0f4f1da_1

numpy 1.13.1 py36h93d791d_2

numpydoc 0.7.0 py36he54d08e_0

odo 0.5.1 py36hc1af34a_0

olefile 0.44 py36ha08bf50_0

openpyxl 2.4.8 py36he899640_1

openssl 1.0.2l h57f3a61_2

packaging 16.8 py36he5e8135_0

pandas 0.20.3 py36hd6655d8_2 anaconda

pandoc 1.19.2.1 ha5e8f32_1

pandocfilters 1.4.2 py36h3b0b094_1

pango 1.40.11 h22f5747_0

partd 0.3.8 py36hf5c4cb8_0

path.py 10.3.1 py36hd33c240_0

pathlib2 2.3.0 py36h877a6d8_0

patsy 0.4.1 py36ha1b3fa5_0

pcre 8.41 h29eefc5_0

pep8 1.7.0 py36hc268eb1_0

pexpect 4.2.1 py36h3eac828_0

pickleshare 0.7.4 py36hf512f8e_0

pillow 4.2.1 py36h0263179_0

pip 9.0.1 py36hbbb9e21_2

pixman 0.34.0 hc036c1e_2

pkginfo 1.4.1 py36h25bf955_0

plotly 2.1.0 py36h9570409_0

ply 3.10 py36h10e714e_0

prompt 0.4.1 py36_0 conda-forge

prompt_toolkit 1.0.15 py36haeda067_0

psutil 5.2.2 py36hce78e15_0

ptyprocess 0.5.2 py36he6521c3_0

py 1.4.34 py36hecf431b_1

pycodestyle 2.3.1 py36h83e8646_0

pycosat 0.6.2 py36h1486600_0

pycparser 2.18 py36h724b2fc_1

pycrypto 2.6.1 py36h72f2894_1

pycurl 7.43.0 py36hdb90038_3

pyflakes 1.5.0 py36h7fdd505_1

pygments 2.2.0 py36h240cd3f_0

pylint 1.7.2 py36h2492be7_0

pyodbc 4.0.17 py36h5478161_0

pyopenssl 17.2.0 py36h5d7bf08_0

pyparsing 2.2.0 py36hb281f35_0

pyqt 5.6.0 py36he5c6137_6

pysocks 1.6.7 py36hfa33cec_1

pytables 3.4.2 py36h6e7b07d_1

pytest 3.2.1 py36h9963153_1

python 3.6.2 h26d10c0_12

python-dateutil 2.6.1 py36h86d2abb_1

python.app 2 py36h02ac5de_5

pytz 2017.2 py36h2e7dfbc_1

pywavelets 0.5.2 py36h2710a04_0

pyyaml 3.12 py36h2ba1e63_1

pyzmq 16.0.2 py36h087ffad_2

qt 5.6.2 h9975529_14

qtawesome 0.4.4 py36h468c6fb_0

qtconsole 4.3.1 py36hd96c0ff_0

qtpy 1.3.1 py36h16bb863_0

r-assertthat 0.2.0 r342hacfac53_0 r

r-base 3.4.2 hc151561_0 r

r-bh 1.65.0_1 r342hc3f23d0_0 r

r-bindr 0.1 r342hb4d41c9_0 r

r-bindrcpp 0.2 r342h94b3c25_0 r

r-bit 1.1_12 r342hf8cc2cf_0 r

r-bit64 0.9_7 r342h1cba8d6_0 r

r-blob 1.1.0 r342h4b1ee69_0 r

r-dbi 0.7 r342h6aefa47_0 r

r-dbplyr 1.1.0 r342h9881601_0 r

r-digest 0.6.12 r342h7ffa501_0 r

r-dplyr 0.7.4 r342hd462e57_0 r

r-glue 1.1.1 r342hfa53b3f_0 r

r-magrittr 1.5 r342h1b44950_2 r

r-memoise 1.1.0 r342h0d1069b_0 r

r-pkgconfig 2.0.1 r342h037cecb_0 r

r-plogr 0.1_1 r342he1be899_0 r

r-purrr 0.2.3 r342h7646bf1_0 r

r-r6 2.2.2 r342hd083555_0 r

r-rcpp 0.12.13 r342hd23d99a_0 r

r-rlang 0.1.2 r342h6f7de11_0 r

r-rsqlite 2.0 r342h13ed314_0 r

r-tibble 1.3.4 r342h9aabc0a_0 r

readline 7.0 h81b24a6_3

requests 2.18.4 py36h4516966_1

rope 0.10.5 py36h5764ad1_0

rpy2 2.9.0 py36r342h301bfa9_0 r

ruamel_yaml 0.11.14 py36h9d7ade0_2

scikit-image 0.13.0 py36h398857d_1

scikit-learn 0.19.0 py36h4cafacf_2

scipy 0.19.1 py36h3e758e1_3

seaborn 0.8.0 py36h74df97e_0

setuptools 36.5.0 py36h2134326_0

simplegeneric 0.8.1 py36he5b5b09_0

simplejson 3.11.1

singledispatch 3.4.0.3 py36hf20db9d_0

sip 4.18.1 py36h2824476_2

six 1.10.0 py36h1d5bd22_1

snowballstemmer 1.2.1 py36h6c7b616_0

sortedcollections 0.5.3 py36he9c3ed6_0

sortedcontainers 1.5.7 py36ha982688_0

sphinx 1.6.3 py36hcd1b3e7_0

sphinxcontrib 1.0 py36h9364dc8_1

sphinxcontrib-websupport 1.0.1 py36h92f4a7a_1

spyder 3.2.3 py36hfd52dc3_0

sqlalchemy 1.1.13 py36h156b851_0

sqlite 3.20.1 h900c3b0_1

statsmodels 0.8.0 py36h9c68fc9_0

sympy 1.1.1 py36h7f3cf04_0

tblib 1.3.2 py36hda67792_0

terminado 0.6 py36h656782e_0

testpath 0.3.1 py36h625a49b_0

tk 8.6.7 hcdce994_1

toolz 0.8.2 py36h7b95164_0

tornado 4.5.2 py36h468dda9_0

traitlets 4.3.2 py36h65bd3ce_0

traittypes 0.0.6 py36_0 conda-forge

typing 3.6.2 py36haa2d9ef_0

unicodecsv 0.14.1 py36he531d66_0

unixodbc 2.3.4 h4cb4dde_1

urllib3 1.22 py36h68b9469_0

wcwidth 0.1.7 py36h8c6ec74_0

webencodings 0.5.1 py36h3b9701d_1

werkzeug 0.12.2 py36h168efa1_0

wheel 0.29.0 py36h3597b6d_1

widgetsnbextension 3.0.2 py36h91f43ea_1

widgetsnbextension 3.0.6

wrapt 1.10.11 py36hc29e774_0

xlrd 1.1.0 py36h336f4a2_1

xlsxwriter 0.9.8 py36h3a83402_0

xlwings 0.11.4 py36hc75f156_0

xlwt 1.2.0 py36h5ad1178_0

xz 5.2.3 ha24016e_1

yaml 0.1.7 hff548bb_1

zeromq 4.2.2 h131e0f7_1

zict 0.1.2 py36h117f4c7_0

zlib 1.2.11 h60db283_1

0587364245:~ vivianmadu$

On Tue, Oct 24, 2017 at 5:45 PM, Jason Grout notifications@github.com
wrote:

and how do I check the version of widgetsnbextsion

If you're using conda, you should be able to do conda list.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyter-widgets/ipywidgets/issues/1776#issuecomment-339142360,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXxdJEeOnUBxAlMWd_PPFOgTiwEmaRJJks5svlpqgaJpZM4QFFjZ
.

widgetsnbextension 3.0.6

On Tue, Oct 24, 2017 at 5:46 PM, Vivian Madu alorean@umich.edu wrote:

packages in environment at /Users/vivianmadu/anaconda3:

#

alabaster 0.7.10 py36h174008c_0

anaconda custom py36ha4fed55_0

anaconda-client 1.6.5 py36h04cfe59_0

anaconda-navigator 1.6.9 py36ha31b149_0

anaconda-project 0.8.0 py36h99320b2_0

appnope 0.1.0 py36hf537a9a_0

appscript 1.0.1 py36h9e71e49_1

asn1crypto 0.22.0 py36hb705621_1

astroid 1.5.3 py36h1333018_0

astropy 2.0.2 py36hf79c81d_4

babel 2.5.0 py36h9f161ff_0

backports 1.0 py36ha3c1827_1

backports.shutil_get_terminal_size 1.0.0 py36hd7a2ee4_2

beautifulsoup4 4.6.0 py36h72d3c9f_1

bitarray 0.8.1 py36h20fa61d_0

bkcharts 0.2 py36h073222e_0

blaze 0.11.3 py36h02e7a37_0

bleach 2.0.0 py36h8fcea71_0

bokeh 0.12.7 py36hf2e3fb6_1

boto 2.48.0 py36hdbc59ac_1

bottleneck 1.2.1 py36hbd380ad_0

ca-certificates 2017.08.26 ha1e5d58_0

cairo 1.14.10 h7d8fbd7_5

certifi 2017.7.27.1 py36hd973bb6_0

cffi 1.10.0 py36h880867e_1

chardet 3.0.4 py36h96c241c_1

click 6.7 py36hec950be_0

cloudpickle 0.4.0 py36h13b7e56_0

clyent 1.2.2 py36hae3ad88_0

colorama 0.3.9 py36hd29a30c_0

conda 4.3.30 py36h173c244_0

conda-build 3.0.22 py36hcb85c65_0

conda-env 2.6.0 h36134e3_0

conda-verify 2.0.0 py36he837df3_0

contextlib2 0.5.5 py36hd66e5e7_0

cryptography 2.0.3 py36h22d4226_1

curl 7.55.1 h7601780_3

cycler 0.10.0 py36hfc81398_0

cython 0.26.1 py36hd51f8eb_0

cytoolz 0.8.2 py36h290905f_0

dask 0.15.2 py36h4a50f7f_0

dask-core 0.15.2 py36h151e743_0

datashape 0.5.4 py36hfb22df8_0

dbus 1.10.22 h50d9ad6_0

decorator 4.1.2 py36h69a1b52_0

distributed 1.18.3 py36h46ea802_0

docutils 0.14 py36hbfde631_0

entrypoints 0.2.3 py36hd81d71f_2

et_xmlfile 1.0.1 py36h1315bdc_0

expat 2.2.4 h8f26bf8_1

fastcache 1.0.2 py36h8606a76_0

filelock 2.0.12 py36h0d0b4fb_0

flask 0.12.2 py36h5658096_0

flask-cors 3.0.3 py36h7387b97_0

fontconfig 2.12.4 hc5e92fd_0

freetype 2.8 h143eb01_0

get_terminal_size 1.0.0 h7520d66_0

gettext 0.19.8.1 hb0f4f8b_2

gevent 1.2.2 py36ha70b9d6_0

glib 2.53.6 ha08cb78_1

glob2 0.5 py36h12393a9_0

gmp 6.1.2 h4a9834d_0

gmpy2 2.0.8 py36h7ef02cb_1

graphite2 1.3.10 h233cf8b_0

greenlet 0.4.12 py36hf09ba7b_0

gsl 2.2.1 hbdf3209_2

h5py 2.7.0 py36h6400cee_1

harfbuzz 1.5.0 h6db888e_0

hdf5 1.10.1 h6090a45_0

heapdict 1.0.0 py36h27a9ac6_0

html5lib 0.999999999 py36h79312fd_0

icu 58.2 hea21ae5_0

idna 2.6 py36h8628d0a_1

imageio 2.2.0 py36h5e01289_0

imagesize 0.7.1 py36h3495948_0

intel-openmp 2018.0.0 hdd0ccc9_7

ipykernel 4.6.1 py36h3208c25_0

ipython 6.1.0 py36hf612aae_1

ipython_genutils 0.2.0 py36h241746c_0

ipywidgets 7.0.0 py36h24d3910_0

isort 4.2.15 py36hceb2a01_0

itsdangerous 0.24 py36h49fbb8d_1

jbig 2.1 h4d881f8_0

jdcal 1.3 py36h1986823_0

jedi 0.10.2 py36h6325097_0

jinja2 2.9.6 py36hde4beb4_1

jpeg 9b haccd157_1

jsonschema 2.6.0 py36hb385e00_0

jupyter_client 5.1.0 py36hf6c435f_0

jupyter_console 5.2.0 py36hccf5b1c_1

jupyter_core 4.3.0 py36h93810fe_0

jupyterlab 0.27.0 py36hd3092eb_2

jupyterlab_launcher 0.4.0 py36h93e02e9_0

krb5 1.14.2 h7298e6d_1

lazy-object-proxy 1.3.1 py36h2fbbe47_0

libcxx 4.0.1 h579ed51_0

libcxxabi 4.0.1 hebd6815_0

libedit 3.1 hb4e282d_0

libffi 3.2.1 hd939716_3

libgfortran 3.0.1 h93005f0_2

libiconv 1.15 h99df5da_5

libpng 1.6.32 hce72d48_2

libsodium 1.0.13 hba5e272_2

libssh2 1.8.0 h1218725_2

libtiff 4.0.8 h8cd0352_9

libxml2 2.9.4 hbd0960b_5

libxslt 1.1.29 h95a2935_5

llvmlite 0.20.0 py36_0

locket 0.2.0 py36hca03003_1

lxml 3.8.0 py36h1003d81_0

markupsafe 1.0 py36h3a1e703_1

matplotlib 2.0.2 py36h507e440_1

mccabe 0.6.1 py36hdaeb55d_0

mistune 0.7.4 py36hccd6237_0

mkl 2018.0.0 hc285769_4

mkl-service 1.1.2 py36h7ea6df4_4

mpc 1.0.3 hc455b36_4

mpfr 3.1.5 h7fa3772_1

mpmath 0.19 py36h9185fea_2

msgpack-python 0.4.8 py36h46767b2_0

multipledispatch 0.4.9 py36hc5f92b5_0

navigator-updater 0.1.0 py36h7aee5fb_0

nbconvert 5.3.1 py36h810822e_0

nbformat 4.4.0 py36h827af21_0

ncurses 6.0 ha932d30_1

networkx 1.11 py36he1dbd48_0

nltk 3.2.4 py36h27d1ea0_0

nodejs 6.11.0 0 conda-forge

nose 1.3.7 py36h73fae2b_2

notebook 5.0.0 py36h462289e_2

numba 0.35.0 np113py36_6

numexpr 2.6.2 py36h0f4f1da_1

numpy 1.13.1 py36h93d791d_2

numpydoc 0.7.0 py36he54d08e_0

odo 0.5.1 py36hc1af34a_0

olefile 0.44 py36ha08bf50_0

openpyxl 2.4.8 py36he899640_1

openssl 1.0.2l h57f3a61_2

packaging 16.8 py36he5e8135_0

pandas 0.20.3 py36hd6655d8_2 anaconda

pandoc 1.19.2.1 ha5e8f32_1

pandocfilters 1.4.2 py36h3b0b094_1

pango 1.40.11 h22f5747_0

partd 0.3.8 py36hf5c4cb8_0

path.py 10.3.1 py36hd33c240_0

pathlib2 2.3.0 py36h877a6d8_0

patsy 0.4.1 py36ha1b3fa5_0

pcre 8.41 h29eefc5_0

pep8 1.7.0 py36hc268eb1_0

pexpect 4.2.1 py36h3eac828_0

pickleshare 0.7.4 py36hf512f8e_0

pillow 4.2.1 py36h0263179_0

pip 9.0.1 py36hbbb9e21_2

pixman 0.34.0 hc036c1e_2

pkginfo 1.4.1 py36h25bf955_0

plotly 2.1.0 py36h9570409_0

ply 3.10 py36h10e714e_0

prompt 0.4.1 py36_0 conda-forge

prompt_toolkit 1.0.15 py36haeda067_0

psutil 5.2.2 py36hce78e15_0

ptyprocess 0.5.2 py36he6521c3_0

py 1.4.34 py36hecf431b_1

pycodestyle 2.3.1 py36h83e8646_0

pycosat 0.6.2 py36h1486600_0

pycparser 2.18 py36h724b2fc_1

pycrypto 2.6.1 py36h72f2894_1

pycurl 7.43.0 py36hdb90038_3

pyflakes 1.5.0 py36h7fdd505_1

pygments 2.2.0 py36h240cd3f_0

pylint 1.7.2 py36h2492be7_0

pyodbc 4.0.17 py36h5478161_0

pyopenssl 17.2.0 py36h5d7bf08_0

pyparsing 2.2.0 py36hb281f35_0

pyqt 5.6.0 py36he5c6137_6

pysocks 1.6.7 py36hfa33cec_1

pytables 3.4.2 py36h6e7b07d_1

pytest 3.2.1 py36h9963153_1

python 3.6.2 h26d10c0_12

python-dateutil 2.6.1 py36h86d2abb_1

python.app 2 py36h02ac5de_5

pytz 2017.2 py36h2e7dfbc_1

pywavelets 0.5.2 py36h2710a04_0

pyyaml 3.12 py36h2ba1e63_1

pyzmq 16.0.2 py36h087ffad_2

qt 5.6.2 h9975529_14

qtawesome 0.4.4 py36h468c6fb_0

qtconsole 4.3.1 py36hd96c0ff_0

qtpy 1.3.1 py36h16bb863_0

r-assertthat 0.2.0 r342hacfac53_0 r

r-base 3.4.2 hc151561_0 r

r-bh 1.65.0_1 r342hc3f23d0_0 r

r-bindr 0.1 r342hb4d41c9_0 r

r-bindrcpp 0.2 r342h94b3c25_0 r

r-bit 1.1_12 r342hf8cc2cf_0 r

r-bit64 0.9_7 r342h1cba8d6_0 r

r-blob 1.1.0 r342h4b1ee69_0 r

r-dbi 0.7 r342h6aefa47_0 r

r-dbplyr 1.1.0 r342h9881601_0 r

r-digest 0.6.12 r342h7ffa501_0 r

r-dplyr 0.7.4 r342hd462e57_0 r

r-glue 1.1.1 r342hfa53b3f_0 r

r-magrittr 1.5 r342h1b44950_2 r

r-memoise 1.1.0 r342h0d1069b_0 r

r-pkgconfig 2.0.1 r342h037cecb_0 r

r-plogr 0.1_1 r342he1be899_0 r

r-purrr 0.2.3 r342h7646bf1_0 r

r-r6 2.2.2 r342hd083555_0 r

r-rcpp 0.12.13 r342hd23d99a_0 r

r-rlang 0.1.2 r342h6f7de11_0 r

r-rsqlite 2.0 r342h13ed314_0 r

r-tibble 1.3.4 r342h9aabc0a_0 r

readline 7.0 h81b24a6_3

requests 2.18.4 py36h4516966_1

rope 0.10.5 py36h5764ad1_0

rpy2 2.9.0 py36r342h301bfa9_0 r

ruamel_yaml 0.11.14 py36h9d7ade0_2

scikit-image 0.13.0 py36h398857d_1

scikit-learn 0.19.0 py36h4cafacf_2

scipy 0.19.1 py36h3e758e1_3

seaborn 0.8.0 py36h74df97e_0

setuptools 36.5.0 py36h2134326_0

simplegeneric 0.8.1 py36he5b5b09_0

simplejson 3.11.1

singledispatch 3.4.0.3 py36hf20db9d_0

sip 4.18.1 py36h2824476_2

six 1.10.0 py36h1d5bd22_1

snowballstemmer 1.2.1 py36h6c7b616_0

sortedcollections 0.5.3 py36he9c3ed6_0

sortedcontainers 1.5.7 py36ha982688_0

sphinx 1.6.3 py36hcd1b3e7_0

sphinxcontrib 1.0 py36h9364dc8_1

sphinxcontrib-websupport 1.0.1 py36h92f4a7a_1

spyder 3.2.3 py36hfd52dc3_0

sqlalchemy 1.1.13 py36h156b851_0

sqlite 3.20.1 h900c3b0_1

statsmodels 0.8.0 py36h9c68fc9_0

sympy 1.1.1 py36h7f3cf04_0

tblib 1.3.2 py36hda67792_0

terminado 0.6 py36h656782e_0

testpath 0.3.1 py36h625a49b_0

tk 8.6.7 hcdce994_1

toolz 0.8.2 py36h7b95164_0

tornado 4.5.2 py36h468dda9_0

traitlets 4.3.2 py36h65bd3ce_0

traittypes 0.0.6 py36_0 conda-forge

typing 3.6.2 py36haa2d9ef_0

unicodecsv 0.14.1 py36he531d66_0

unixodbc 2.3.4 h4cb4dde_1

urllib3 1.22 py36h68b9469_0

wcwidth 0.1.7 py36h8c6ec74_0

webencodings 0.5.1 py36h3b9701d_1

werkzeug 0.12.2 py36h168efa1_0

wheel 0.29.0 py36h3597b6d_1

widgetsnbextension 3.0.2 py36h91f43ea_1

widgetsnbextension 3.0.6

wrapt 1.10.11 py36hc29e774_0

xlrd 1.1.0 py36h336f4a2_1

xlsxwriter 0.9.8 py36h3a83402_0

xlwings 0.11.4 py36hc75f156_0

xlwt 1.2.0 py36h5ad1178_0

xz 5.2.3 ha24016e_1

yaml 0.1.7 hff548bb_1

zeromq 4.2.2 h131e0f7_1

zict 0.1.2 py36h117f4c7_0

zlib 1.2.11 h60db283_1

0587364245:~ vivianmadu$

On Tue, Oct 24, 2017 at 5:45 PM, Jason Grout notifications@github.com
wrote:

and how do I check the version of widgetsnbextsion

If you're using conda, you should be able to do conda list.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jupyter-widgets/ipywidgets/issues/1776#issuecomment-339142360,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AXxdJEeOnUBxAlMWd_PPFOgTiwEmaRJJks5svlpqgaJpZM4QFFjZ
.

Oh, it looks like you have two versions of widgetsnbextension installed, one from pip and the other from conda. I would clean everything out - it seems that old installations are messing up your setup.

  1. I would uninstall it all (pip uninstall widgetsnbextension several times until it is gone, then conda uninstall it, etc.).
  2. I would then delete all of the jupyter-js-widgets directories in the data directories noted in jupyter --paths
  3. then I would reinstall using the conda packages, not the pip ones.

@Vivian-Madu - did the above suggestions help?

I'm having the same problem and I think I know why others having same issues. The ipywidgets installation instruction says:

pip install ipywidgets
jupyter nbextension enable --py --sys-prefix widgetsnbextension

when it should say:

pip install ipywidgets
jupyter nbextension install --sys-prefix --py widgetsnbextension
jupyter nbextension enable --py --sys-prefix widgetsnbextension

Am I wrong?

EDIT: I forgot to add, this is a problem when people are upgrading from a previous version of ipywidgets and have their own JUPYTER_DATA_DIR defined.

jupyter nbextension install --sys-prefix --py widgetsnbextension

Ah. I could see several things happening:

  1. The data files included in the ipywidgets package should automatically do the equivalent of the install step (i.e., copy the js files to the appropriate places). However, if there are already files there from a previous version, maybe it won't overwrite the old files?

  2. If the previous version was installed at the user level, that takes precedence over the sys-prefix level where files are automatically copied when pip installing the newest version.

I'll check to see if (1) is happening - if the files are not being overwritten.

it worked!!!! OMG Thank you sooooooooo much. You are amazing and you are doing amazing things in life!! If only i could get bqplot to work as well.

Closing as resolved. Thanks again!

Well, I guess better late than never.
I tried all of the above. Even, extended the javascript timeout from the default of 7 to 60.
PIP installs, Conda installs. Nothing worked.
It had nothing to do with a bad install or the version of widgets.
One Notebook ran fine, a copy of the same notebook stopped running.
The JavaScript Console gave a hint of the root cause, timeouts.
It was the size of my Jupyter notebook.
Moving a number of functions to a separate module, and then importing , fixed the problem.
widgets1
widgets2

Was this page helpful?
0 / 5 - 0 ratings