--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/520e7397-669c-49ea-8243-85acc454d21a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/d3119019-8993-49e0-96e7-eda7d77e35e5%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Project Jupyter" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jupyter/7fd_-nBgiEE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAK%3DPhk7apaO%3DZGyOV5qPEzadP6DEqi_vL_ctxwZZEr1Ge17LKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Tom Brander
phn: 205-267-1089
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/ipywidgets/widgets/widget.py", line 117, in <module>
class Widget(LoggingConfigurable):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/ipywidgets/widgets/widget.py", line 154, in Widget
in which to find _model_name. If empty, look in the global registry.""").tag(sync=True)
AttributeError: 'Unicode' object has no attribute 'tag'
"""
so something with the widgets and traitlets or????
This is an OS-X (10.9.5) system with python.org python 3.5 and jupyter installed with "pip install jupyter" -- it seemed to install all the dependencies from wheels, etc. I'm not entirely sure what older versions of what I had on here before -- certainly ipython, but I think only the bare command line version -- i.e. the notebook wasn't there. but maybe it was?? I do have a conda install on this machine, but I'm pretty sure it's entirely off the PATH.
jupyter troubleshoot returns:
$ jupyter troubleshoot
$PATH:
/Library/Frameworks/Python.framework/Versions/3.5/bin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/opt/X11/bin
/usr/local/git/bin
/usr/texbin
sys.path:
/Library/Frameworks/Python.framework/Versions/3.5/bin
/Users/Chris/PythonStuff/pyugrid
/Users/Chris/PythonStuff/UWPCE/SystemDevelopment/Examples/documentation/Capitalize
/Library/Frameworks/Python.framework/Versions/3.5/lib/python35.zip
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/plat-darwin
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/lib-dynload
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages
sys.executable:
/Library/Frameworks/Python.framework/Versions/3.5/bin/python
sys.version:
3.5.0 (v3.5.0:374f501f4567, Sep 12 2015, 11:00:19)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)]
platform.platform():
Darwin-13.4.0-x86_64-i386-64bit
which -a jupyter:
/Library/Frameworks/Python.framework/Versions/3.5/bin/jupyter
pip list:
alabaster (0.7.7)
ApiDoc (1.2)
appnope (0.1.0)
Babel (2.3.3)
Capitalize (0.1.1, /Users/Chris/PythonStuff/UWPCE/SystemDevelopment/Examples/documentation/Capitalize)
decorator (4.0.2)
docutils (0.12)
entrypoints (0.2.1)
gnureadline (6.3.3)
hieroglyph (0.7.1)
imagesize (0.7.0)
ipykernel (4.3.1)
ipython (4.0.0)
ipython-genutils (0.1.0)
ipywidgets (5.0.0)
Jinja2 (2.8)
jsonschema (2.3.0)
jupyter (1.0.0)
jupyter-client (4.2.2)
jupyter-console (4.1.1)
jupyter-core (4.1.0)
libsass (0.11.1)
MarkupSafe (0.23)
mistune (0.7.2)
nbconvert (4.2.0)
nbformat (4.0.1)
nose2 (0.6.4)
notebook (4.2.0)
numpy (1.10.1)
path.py (8.1.1)
pep8 (1.6.2)
pexpect (3.3)
pickleshare (0.5)
pip (8.1.1)
ptyprocess (0.5.1)
py (1.4.30)
Pygments (2.1.3)
pymongo (3.2.2)
pyparsing (2.1.1)
pytest (2.8.2)
pytz (2016.3)
pyugrid (0.1.7, /Users/Chris/PythonStuff/pyugrid)
PyYAML (3.10)
pyzmq (15.2.0)
qtconsole (4.2.1)
requests (2.9.1)
scss (0.8.73)
setuptools (18.4)
simplegeneric (0.8.1)
six (1.10.0)
snowballstemmer (1.2.1)
Sphinx (1.4.1)
sphinx-rtd-theme (0.1.9)
terminado (0.6)
tornado (4.3)
traitlets (4.0.0)
widgetsnbextension (1.0.0)
so something with the widgets and traitlets or????
pip install -U ipywidgets
and got the latest ipywidgets (and a reamarkable amount of other stuff), and the problem seems to be resolved. So maybe a bug in the version requirements for jupyter?
this is the new output of jupyter troubleshoot:
$ jupyter troubleshoot
<same as before>
pip list:
alabaster (0.7.7)
ApiDoc (1.2)
appnope (0.1.0)
Babel (2.3.3)
backports.shutil-get-terminal-size (1.0.0)
Capitalize (0.1.1, /Users/Chris/PythonStuff/UWPCE/SystemDevelopment/Examples/documentation/Capitalize)
decorator (4.0.9)
docutils (0.12)
entrypoints (0.2.1)
gnureadline (6.3.3)
hieroglyph (0.7.1)
imagesize (0.7.0)
ipykernel (4.3.1)
ipython (4.2.0)
ipython-genutils (0.1.0)
ipywidgets (5.0.0)
Jinja2 (2.8)
jsonschema (2.5.1)
jupyter (1.0.0)
jupyter-client (4.2.2)
jupyter-console (4.1.1)
jupyter-core (4.1.0)
libsass (0.11.1)
MarkupSafe (0.23)
mistune (0.7.2)
nbconvert (4.2.0)
nbformat (4.0.1)
nose2 (0.6.4)
notebook (4.2.0)
numpy (1.10.1)
path.py (8.1.1)
pep8 (1.6.2)
pexpect (4.0.1)
pickleshare (0.7.2)
pip (8.1.1)
ptyprocess (0.5.1)
py (1.4.30)
Pygments (2.1.3)
pymongo (3.2.2)
pyparsing (2.1.1)
pytest (2.8.2)
pytz (2016.3)
pyugrid (0.1.7, /Users/Chris/PythonStuff/pyugrid)
PyYAML (3.10)
pyzmq (15.2.0)
qtconsole (4.2.1)
requests (2.9.1)
scss (0.8.73)
setuptools (20.9.0)
simplegeneric (0.8.1)
six (1.10.0)
snowballstemmer (1.2.1)
Sphinx (1.4.1)
sphinx-rtd-theme (0.1.9)
terminado (0.6)
tornado (4.3)
traitlets (4.2.1)
widgetsnbextension (1.0.0)
so there's some kind of bug in the dependencies somewhere in here....
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qitK45SDSAF_a%3D_aRfw6q4KTNNfojobzWVXEic%3DvtycXA%40mail.gmail.com.
Yes, it is weird. However, it is not the first time such an issue is reported.I wonder if the earlier versions of these libraries were installed with the `--user` option.
If so, the version installed with --user will have priority over the one installed in sys-prefix, and are shared by all the installations of Python you may have.Sylvain--On Sun, Apr 24, 2016 at 4:56 PM, Thomas Kluyver <tak...@gmail.com> wrote:--On 24 April 2016 at 21:43, Christopher Barker <pyth...@gmail.com> wrote:so there's some kind of bug in the dependencies somewhere in here....ipywidgets 5.0 appears to have a dependency on traitlets >=4.2, so I'm not sure how you ended up with the combination of packages you had before. But I believe pip's dependency resolution is not as well worked out as that of apt or conda.Thomas
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qitK45SDSAF_a%3D_aRfw6q4KTNNfojobzWVXEic%3DvtycXA%40mail.gmail.com.
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAK%3DPhk4LL8BjnrxgbSrtLi7bZmJ96%2BBsLS1qO55Cs0_1FJ_x5Q%40mail.gmail.com.
AttributeError: 'Unicode' object has no attribute 'tag'
You can use
python -m site
to summarise some PATH information. You can also check where traitlets is coming from with:
python -c "import traitlets; print(traitlets)"
It is possible that there is an easy-install.pth
file corrupting your import path. This is a common problem caused by buggy versions of setuptools.
-MinRK
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAOvn4qjEA%2Bwj8Vbw6TE7H66P3Nfgge%2BQ0LctvoGMx76o8JScQQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+unsubscribe@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/f61e1d73-481e-4f03-8aed-75e4cf2d732b%40googlegroups.com.
OK, after you install ipywidgets you need to install the notebook extension with `jupyter nbextension enable --py --sys-prefix widgetsnbextension`.
On Wed, Aug 24, 2016 at 4:21 PM, Shahreen Sumaria <shahreen...@gmail.com> wrote:
Hello Sylvain,
I used pip install ipywidgets. Surprisingly, I am able to import the library. When I run any widget methods in jupyter I get the error message to enable widgetnbextensions. And nothing to display.
Thanks heaps.
Shahreen.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.