Octave Kernel Help

1,095 views
Skip to first unread message

Thales Maia

unread,
Sep 1, 2015, 9:36:27 AM9/1/15
to Project Jupyter
Hi,

I am totally new on ipython community but found about it using matplotlib. I am astonished of the possibilities.
So, I am an octave user, but octave is not growing as fast as python, so I want to start the migration process.

Jupyter seems the best option but I can not get octave kernel to work.

My questions:

- Why it doesn't work with ipython2?

- After some time I got ipyhton3 notebook working and got octave installed, but the kernell can't start. Any idea?

- After that I also decided to remove it, but it keeps in my dropdown menu.

Can anyone help me with that?

Matthias Bussonnier

unread,
Sep 1, 2015, 10:16:19 AM9/1/15
to jup...@googlegroups.com
Hi Maia, 


I am totally new on ipython community but found about it using matplotlib. I am astonished of the possibilities.
So, I am an octave user, but octave is not growing as fast as python, so I want to start the migration process.

Sure, first of all, if you want to migrate, you should also consider using the
Python kernel with oct2py and the octave magic.

Here is one demo an how to mix octave/python together:



Jupyter seems the best option but I can not get octave kernel to work.

My questions:

- Why it doesn't work with ipython2 ?

There is no reason for it to not work with IPython on Python 2 ( I assume that’s what you 
meant by IPython2), but we would have to see the error message to be sure. 

- After some time I got ipyhton3 notebook working and got octave installed, but the kernell can't start. Any idea?

Same here, we need to see the errors to understand why. 
Do you have a traceback on the terminal where you run the notebook ?

- After that I also decided to remove it, but it keeps in my dropdown menu.

That’s because at install time the list of available kernels is registered on your disk, 
depending on your version of IPython/Jupyter and OS and wether you sudo-install
- ~/.ipython/kernelspecs, 
- ~/.jupyter/kernelspecs
- ~/Library/Jupyter
- /usr/share/local/jupyter

If you gave us more details we can tell you how to know exactly.

You can also contact the maintainers of the octave kernels by opening an issue


But it does not seem very active. 

Can anyone help me with that?


Feel free to ask more question and give more detains on your system 
-- 
M

Thales Maia

unread,
Sep 1, 2015, 11:00:49 AM9/1/15
to Project Jupyter
Hello Bussonnier,

I really thank you for the help and quick answer.


Em terça-feira, 1 de setembro de 2015 11:16:19 UTC-3, Matthias Bussonnier escreveu:
Hi Maia, 


I am totally new on ipython community but found about it using matplotlib. I am astonished of the possibilities.
So, I am an octave user, but octave is not growing as fast as python, so I want to start the migration process.

Sure, first of all, if you want to migrate, you should also consider using the
Python kernel with oct2py and the octave magic.

Here is one demo an how to mix octave/python together:


Very nice, I think I can live with that lib for a while.



Jupyter seems the best option but I can not get octave kernel to work.

My questions:

- Why it doesn't work with ipython2 ?

There is no reason for it to not work with IPython on Python 2 ( I assume that’s what you 
meant by IPython2), but we would have to see the error message to be sure. 

That is really a newbie assumption, but when I install ipython, I get ipython and ipython2 binaries. Have no idea why...
 
$ locate ipython2
/usr/local/bin/ipython2

$ locate ipython
/home/thales/.ipython
/home/thales/.ipython/README
/home/thales/.ipython/extensions
/home/thales/.ipython/nbextensions
/home/thales/.ipython/profile_default
/home/thales/.ipython/profile_default/db
/home/thales/.ipython/profile_default/history.sqlite
/home/thales/.ipython/profile_default/log
/home/thales/.ipython/profile_default/pid
/home/thales/.ipython/profile_default/security
/home/thales/.ipython/profile_default/startup
/home/thales/.ipython/profile_default/security/kernel-26bc4de2-b31b-4807-9ff5-d581b8e7f83e.json
/home/thales/.ipython/profile_default/startup/README
/usr/lib/pymodules/python2.7/matplotlib/sphinxext/ipython_console_highlighting.py
/usr/lib/pymodules/python2.7/matplotlib/sphinxext/ipython_console_highlighting.pyc
/usr/lib/pymodules/python2.7/matplotlib/sphinxext/ipython_directive.py
/usr/lib/pymodules/python2.7/matplotlib/sphinxext/ipython_directive.pyc
/usr/local/bin/ipython
/usr/local/bin/ipython2
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info
/usr/local/lib/python2.7/dist-packages/ipython_genutils
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info
/usr/local/lib/python2.7/dist-packages/IPython/core/getipython.py
/usr/local/lib/python2.7/dist-packages/IPython/core/getipython.pyc
/usr/local/lib/python2.7/dist-packages/IPython/sphinxext/ipython_console_highlighting.py
/usr/local/lib/python2.7/dist-packages/IPython/sphinxext/ipython_console_highlighting.pyc
/usr/local/lib/python2.7/dist-packages/IPython/sphinxext/ipython_directive.py
/usr/local/lib/python2.7/dist-packages/IPython/sphinxext/ipython_directive.pyc
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/DESCRIPTION.rst
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/METADATA
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/RECORD
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/WHEEL
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/entry_points.txt
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/metadata.json
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/pbr.json
/usr/local/lib/python2.7/dist-packages/ipython-4.0.0.dist-info/top_level.txt
/usr/local/lib/python2.7/dist-packages/ipython_genutils/__init__.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/__init__.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/_version.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/_version.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/encoding.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/encoding.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/importstring.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/importstring.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/ipstruct.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/ipstruct.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/path.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/path.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/py3compat.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/py3compat.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tempdir.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tempdir.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/testing
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests
/usr/local/lib/python2.7/dist-packages/ipython_genutils/text.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/text.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/testing/__init__.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/testing/__init__.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/testing/decorators.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/testing/decorators.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/__init__.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/__init__.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_importstring.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_importstring.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_path.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_path.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_tempdir.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_tempdir.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_text.py
/usr/local/lib/python2.7/dist-packages/ipython_genutils/tests/test_text.pyc
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info/DESCRIPTION.rst
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info/METADATA
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info/RECORD
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info/WHEEL
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info/metadata.json
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info/pbr.json
/usr/local/lib/python2.7/dist-packages/ipython_genutils-0.1.0.dist-info/top_level.txt
/usr/local/lib/python2.7/dist-packages/nbconvert/templates/latex/style_bw_ipython.tplx
/usr/local/lib/python2.7/dist-packages/nbconvert/templates/latex/style_ipython.tplx
/usr/local/lib/python2.7/dist-packages/notebook/static/notebook/js/codemirror-ipython.js
/usr/local/lib/python2.7/dist-packages/notebook/static/notebook/js/codemirror-ipythongfm.js
/usr/local/lib/python2.7/dist-packages/notebook/static/style/ipython.less
/usr/local/lib/python2.7/dist-packages/notebook/static/style/ipython.min.css
/usr/local/lib/python2.7/dist-packages/notebook/static/style/ipython.min.css.map
/usr/local/lib/python2.7/dist-packages/qtconsole/ipython_widget.py
/usr/local/lib/python2.7/dist-packages/qtconsole/ipython_widget.pyc
/usr/local/lib/python2.7/dist-packages/qtconsole/rich_ipython_widget.py
/usr/local/lib/python2.7/dist-packages/qtconsole/rich_ipython_widget.pyc
/usr/local/lib/python2.7/dist-packages/spyderlib/ipythonconfig.py
/usr/local/lib/python2.7/dist-packages/spyderlib/ipythonconfig.pyc
/usr/local/lib/python2.7/dist-packages/spyderlib/images/console/ipython_console.png
/usr/local/lib/python2.7/dist-packages/spyderlib/images/console/ipython_console_t.png
/usr/local/lib/python2.7/dist-packages/spyderlib/plugins/ipythonconsole.py
/usr/local/lib/python2.7/dist-packages/spyderlib/plugins/ipythonconsole.pyc
/usr/local/lib/python2.7/dist-packages/spyderlib/utils/ipython
/usr/local/lib/python2.7/dist-packages/spyderlib/utils/ipython/templates
/usr/local/lib/python2.7/dist-packages/spyderlib/utils/ipython/templates/blank.html
/usr/local/lib/python2.7/dist-packages/spyderlib/utils/ipython/templates/kernel_error.html
/usr/local/lib/python2.7/dist-packages/spyderlib/utils/ipython/templates/loading.html
/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/ipython.py
/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/ipython.pyc
/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/start_ipython_kernel.py
/usr/local/lib/python2.7/dist-packages/spyderlib/widgets/externalshell/start_ipython_kernel.pyc
/usr/local/share/man/man1/ipython.1.gz
/usr/share/pyshared/matplotlib/sphinxext/ipython_console_highlighting.py
/usr/share/pyshared/matplotlib/sphinxext/ipython_directive.py
/var/cache/apt/archives/ipython-notebook-common_1.2.1-2_all.deb
/var/cache/apt/archives/ipython-notebook_1.2.1-2_all.deb
/var/cache/apt/archives/ipython3-notebook_1.2.1-2_all.deb
/var/cache/apt/archives/ipython3-qtconsole_1.2.1-2_all.deb
/var/cache/apt/archives/ipython3_1.2.1-2_all.deb
/var/cache/apt/archives/ipython_1.2.1-2_all.deb

With octave_kernel, it naturally calls for python3. This happens when I try to run after removing every single trace of the kernel:

[I 11:44:59.527 NotebookApp] Kernel started: 8d814e97-6a6b-40ac-889b-6b1b54e6c45b
/usr/bin/python3: No module named octave_kernel



- After some time I got ipyhton3 notebook working and got octave installed, but the kernell can't start. Any idea?

Same here, we need to see the errors to understand why. 
Do you have a traceback on the terminal where you run the notebook ?

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


 

- After that I also decided to remove it, but it keeps in my dropdown menu.

That’s because at install time the list of available kernels is registered on your disk, 
depending on your version of IPython/Jupyter and OS and wether you sudo-install
- ~/.ipython/kernelspecs, 
- ~/.jupyter/kernelspecs
- ~/Library/Jupyter
- /usr/share/local/jupyter


$ lsb_release -a
No LSB modules are available.
Distributor ID:    LinuxMint
Description:    Linux Mint 17.2 Rafaela
Release:    17.2
Codename:    rafaela

$ jupyter --version
4.0.4

Couldn't find a configuration file in suggesteds folders. Any other place?

Thanks again


 

Matthias Bussonnier

unread,
Sep 1, 2015, 11:40:01 AM9/1/15
to jup...@googlegroups.com
Ok, great !


Jupyter seems the best option but I can not get octave kernel to work.

My questions:

- Why it doesn't work with ipython2 ?

There is no reason for it to not work with IPython on Python 2 ( I assume that’s what you 
meant by IPython2), but we would have to see the error message to be sure. 

That is really a newbie assumption, but when I install ipython, I get ipython and ipython2 binaries. Have no idea why...
 
$ locate ipython2
/usr/local/bin/ipython2

Sure, then ipython2 mean you are running IPython using Python 2

it 2/3 can be ambiguous, like on octave_kernel readme, the author refer to `IPython 3`
which most likely refer to `IPython.__version__ >= 3.0.0` but `IPython 3.0` can run on Python 2.

For what I can see you are running IPython 4.0 with Python 2.7 when calling `$ ipython2`


With octave_kernel, it naturally calls for python3. This happens when I try to run after removing every single trace of the kernel:


[I 11:44:59.527 NotebookApp] Kernel started: 8d814e97-6a6b-40ac-889b-6b1b54e6c45b
/usr/bin/python3: No module named octave_kernel



- After some time I got ipyhton3 notebook working and got octave installed, but the kernell can't start. Any idea?

Same here, we need to see the errors to understand why. 
Do you have a traceback on the terminal where you run the notebook ?

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


ok, so if you do that you will have both the notebook with Python3 and Python2



Results:
$ jupyter-notebook
...
/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', '')))
...


The Metakernel on which depends octave_kernel has not beed updated yet, 
try to downgrade Jupyter to IPython < 4.0. 

You can also directly use the oct2py magics if you are willing to try to use python at the same time. 






$ lsb_release -a
No LSB modules are available.
Distributor ID:    LinuxMint
Description:    Linux Mint 17.2 Rafaela
Release:    17.2
Codename:    rafaela

$ jupyter --version
4.0.4

Couldn't find a configuration file in suggesteds folders. Any other place?


The following should give you information on how/where are kernels detected.:

$ jupyter kernelspec list --debug

$ jupyter kernelspec list --debug
...
[ListKernelSpecs] Found kernel python3 in /usr/local/share/jupyter/kernels
[ListKernelSpecs] Found kernel python2 in /usr/local/share/jupyter/kernels
Available kernels:
  julia-0.3
  julia-0.4
  python2
  python3

-- 
M

Thales Maia

unread,
Sep 1, 2015, 12:45:24 PM9/1/15
to Project Jupyter
Hum... I think I quit! lol

I just want to know why, and, as you told. Metakernel is outdated, tahnk you for the help.

I am happy with oct2py and will be better use python more.

About jupyter commands, it doesn't work, but I found the correct path doing:
jupyter --paths

Most of them doesn't even exist, but i fund it on:
/usr/local/share/jupyter/kernels

Thank you, hope I can help other the same way you helped me

Matthias Bussonnier

unread,
Sep 1, 2015, 12:55:50 PM9/1/15
to jup...@googlegroups.com

> On Sep 1, 2015, at 18:45, Thales Maia <thale...@gmail.com> wrote:
>
> Hum... I think I quit! lol

Well that’s not that complicated, but it can be a lot for someone new, I agree.
Feel free to ask question the community is relatively friendly here.
Lots of us are traveling theses days so our response can be short,
it’s not lack of desire to help.

>
> I just want to know why, and, as you told. Metakernel is outdated, tahnk you for the help.

4.0 was released less than a month ago, so not all libraries are up-to date,
but that should be fixed soon.

The fixes in Metakernel shouldn’t be that hard, wo know maybe you will send a PR to fix it !

>
> I am happy with oct2py and will be better use python more.

OK, great, feel free to ask question if you have issues with oct2py too.

>
> About jupyter commands, it doesn't work, but I found the correct path doing:
> jupyter --paths

Hum, ok, weird.
>
> Most of them doesn't even exist, but i fund it on:
> /usr/local/share/jupyter/kernels

Great !

>
> Thank you, hope I can help other the same way you helped me

See you soon.
--
M


Reply all
Reply to author
Forward
0 new messages