Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created April 22, 2016 07:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdeil/e241209cbe8a412ad62fa54b58f3efe2 to your computer and use it in GitHub Desktop.
Save cdeil/e241209cbe8a412ad62fa54b58f3efe2 to your computer and use it in GitHub Desktop.
$ jupyter-3.5 notebook-3.5
[W 09:22:32.937 NotebookApp] Widgets are unavailable. Please install widgetsnbextension or ipywidgets 4.0
[I 09:22:32.951 NotebookApp] Serving notebooks from local directory: /Users/deil/work/hess-host-analyses/checks
[I 09:22:32.951 NotebookApp] 0 active kernels
[I 09:22:32.951 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 09:22:32.951 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/utils/path.py:258: UserWarning: get_ipython_dir has moved to the IPython.paths module
warn("get_ipython_dir has moved to the IPython.paths module")
[E 09:22:33.806 NotebookApp] Unhandled error in API request
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/traitlets/traitlets.py", line 501, in get
value = obj._trait_values[self.name]
KeyError: 'kernel_dirs'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/notebook/base/handlers.py", line 457, in wrapper
result = yield gen.maybe_future(method(self, *args, **kwargs))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/notebook/services/kernelspecs/handlers.py", line 56, in get
for kernel_name in ksm.find_kernel_specs():
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 128, in find_kernel_specs
for kernel_dir in self.kernel_dirs:
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/traitlets/traitlets.py", line 529, in __get__
return self.get(obj, cls)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/traitlets/traitlets.py", line 508, in get
value = self._validate(obj, dynamic_default())
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/jupyter_client/kernelspec.py", line 122, in _kernel_dirs_default
dirs.append(os.path.join(get_ipython_dir(), 'kernels'))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/utils/path.py", line 259, in get_ipython_dir
from IPython.paths import get_ipython_dir
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/__init__.py", line 48, in <module>
from .core.application import Application
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/core/application.py", line 24, in <module>
from IPython.core import release, crashhandler
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/core/crashhandler.py", line 28, in <module>
from IPython.core import ultratb
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/core/ultratb.py", line 121, in <module>
from IPython.utils.terminal import get_terminal_size
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/IPython/utils/terminal.py", line 27, in <module>
import backports.shutil_get_terminal_size
ImportError: No module named 'backports'
[E 09:22:33.809 NotebookApp] {
"Accept": "*/*",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.66 Safari/537.36",
"Connection": "keep-alive",
"Accept-Encoding": "gzip, deflate, sdch",
"X-Requested-With": "XMLHttpRequest",
"Host": "localhost:8888",
"Referer": "http://localhost:8888/tree",
"Accept-Language": "en-US,en;q=0.8,de;q=0.6,sv;q=0.4",
"Cookie": "doxygen_width=256; _ga=GA1.1.1871478809.1452696957"
}
[E 09:22:33.809 NotebookApp] 500 GET /api/kernelspecs (::1) 11.62ms referer=http://localhost:8888/tree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment