Reinstalled for check error:
sudo apt-get install python3-pip
sudo pip3 install ipython[notebook]
sudo pip3 install --upgrade metakernel
sudo pip3 install --upgrade octave-kernel
Results:
$ jupyter-notebook
[W 11:52:52.191 NotebookApp] ipywidgets package not installed. Widgets are unavailable.
[I 11:52:52.199 NotebookApp] Serving notebooks from local directory: /home/thales/.ipython/profile_default/log
[I 11:52:52.199 NotebookApp] 0 active kernels
[I 11:52:52.199 NotebookApp] The IPython Notebook is running at:
http://localhost:8888/[I 11:52:52.199 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
(process:22365): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[W 11:52:52.692 NotebookApp] 404 GET /api/kernels/aed560ca-b791-45c1-aee8-83510041d9fc/channels?session_id=A5B064658A0A490E99B7AB103DF1C2B1 (127.0.0.1): Kernel does not exist: aed560ca-b791-45c1-aee8-83510041d9fc
[W 11:52:52.701 NotebookApp] 404 GET /api/kernels/aed560ca-b791-45c1-aee8-83510041d9fc/channels?session_id=A5B064658A0A490E99B7AB103DF1C2B1 (127.0.0.1) 14.38ms referer=None
[I 11:52:55.511 NotebookApp] Creating new notebook in
[W 11:52:56.576 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20150901115252 (127.0.0.1) 2.49ms referer=
http://localhost:8888/notebooks/Untitled3.ipynb?kernel_name=octave_kernel[I 11:52:56.649 NotebookApp] Kernel started: 27033ffd-1d9c-4402-80de-74d716770c40
/usr/local/lib/python3.4/dist-packages/IPython/html.py:14: ShimWarning: The `IPython.html` package has been deprecated. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
"`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)
/usr/local/lib/python3.4/dist-packages/metakernel/_metakernel.py:22: UserWarning: Cannot load module widgets so metakernel will not be available to IPython/jupyter.
warnings.warn("Cannot load module {name} so metakernel will not be available to IPython/jupyter.".format(name=getattr(e, 'name', '')))
/usr/local/lib/python3.4/dist-packages/IPython/kernel/__init__.py:13: ShimWarning: The `IPython.kernel` package has been deprecated. You should import from ipykernel or jupyter_client instead.
"You should import from ipykernel or jupyter_client instead.", ShimWarning)
IPython: an enhanced interactive Python shell.
Options
-------
Arguments that take values are actually convenience aliases to full
Configurables, whose aliases are listed on the help line. For more information
on full configurables, see '--help-all'.
--no-stdout
redirect stdout to the null device
--no-color-info
Disable using colors for info related things.
--init
Initialize profile with default config files. This is equivalent
to running `ipython profile create <profile>` prior to startup.
--no-automagic
Turn off the auto calling of magic commands.
--matplotlib
Configure matplotlib for interactive use with
the default matplotlib backend.
--autoindent
Turn on autoindenting.
--pylab
Pre-load matplotlib and numpy for interactive use with
the default matplotlib backend.
--pdb
Enable auto calling the pdb debugger after every exception.
--no-deep-reload
Disable deep (recursive) reloading by default.
--no-pdb
Disable auto calling the pdb debugger after every exception.
--quiet
set log level to logging.CRITICAL (minimize logging output)
--pprint
Enable auto pretty printing of results.
--no-stderr
redirect stderr to the null device
--pydb
Use the third party 'pydb' package as debugger, instead of pdb.
Requires that pydb is installed.
--deep-reload
**Deprecated** Enable deep (recursive) reloading by default. IPython can use the
deep_reload module which reloads changes in modules recursively (it
replaces the reload() function, so you don't need to change anything to
use it). deep_reload() forces a full reload of modules whose code may
have changed, which the default reload() function does not. When
deep_reload is off, IPython will use the normal reload(), but
deep_reload will still be available as dreload(). This feature is off
by default [which means that you have both normal reload() and
dreload()].
--debug
set log level to logging.DEBUG (maximize logging output)
--nosep
Eliminate all spacing between prompts.
--no-autoindent
Turn off autoindenting.
--automagic
Turn on the auto calling of magic commands. Type %%magic at the
IPython prompt for more information.
--no-pprint
Disable auto pretty printing of results.
--no-secure
Don't authenticate messages.
--secure
Use HMAC digests for authentication of messages.
Setting this flag will generate a new UUID to use as the HMAC key.
--color-info
IPython can display information about objects via a set of functions,
and optionally can use colors for this, syntax highlighting
source code and various other elements. This is on by default, but can cause
problems with some pagers. If you see such problems, you can disable the
colours.
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 75, in catch_config_error
return method(app, *args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/IPython/core/application.py", line 185, in __init__
super(BaseIPythonApplication, self).__init__(**kwargs)
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 242, in __init__
SingletonConfigurable.__init__(self, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/configurable.py", line 74, in __init__
super(Configurable, self).__init__(**kwargs)
File "/usr/local/lib/python3.4/dist-packages/traitlets/traitlets.py", line 588, in __init__
setattr(self, key, value)
File "/usr/local/lib/python3.4/dist-packages/traitlets/traitlets.py", line 450, in __set__
new_value = self._validate(obj, value)
File "/usr/local/lib/python3.4/dist-packages/traitlets/traitlets.py", line 471, in _validate
value = self.validate(obj, value)
File "/usr/local/lib/python3.4/dist-packages/traitlets/traitlets.py", line 961, in validate
self.error(obj, value)
File "/usr/local/lib/python3.4/dist-packages/traitlets/traitlets.py", line 899, in error
raise TraitError(e)
traitlets.traitlets.TraitError: The 'kernel_class' trait of an IPKernelApp instance must be a subclass of 'ipykernel.kernelbase.Kernel', but a value of class 'type' (i.e. <class '__main__.OctaveKernel'>) was specified.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.4/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.4/dist-packages/octave_kernel.py", line 162, in <module>
IPKernelApp.launch_instance(kernel_class=OctaveKernel)
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 590, in launch_instance
app = cls.instance(**kwargs)
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/configurable.py", line 380, in instance
inst = cls(*args, **kwargs)
File "<string>", line 2, in __init__
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 77, in catch_config_error
app.print_help()
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 349, in print_help
self.print_options()
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 320, in print_options
self.print_alias_help()
File "/usr/local/lib/python3.4/dist-packages/traitlets/config/application.py", line 284, in print_alias_help
cls = classdict[classname]
KeyError: 'IPKernelApp'
^C[I 11:52:57.500 NotebookApp] interrupted
Serving notebooks from local directory: /home/thales/.ipython/profile_default/log
1 active kernels
The IPython Notebook is running at:
http://localhost:8888/Shutdown this notebook server (y/[n])? y
[C 11:52:58.621 NotebookApp] Shutdown confirmed
[I 11:52:58.621 NotebookApp] Shutting down kernels
[I 11:52:58.622 NotebookApp] Kernel shutdown: 27033ffd-1d9c-4402-80de-74d716770c40