Ipython: how to see list of kernels?

Created on 20 Dec 2014  ·  4Comments  ·  Source: ipython/ipython

I tried to see list of installed ipython kernels with ipython kernelspec list from http://ipython.org/ipython-doc/dev/development/kernels.html and I got:

➜  ~  ipython kernelspec list
[TerminalIPythonApp] WARNING | File not found: u'kernelspec'

I would like to see the kernels I have installed on my system. Thanks.

Relevant information:

➜  ~  python -c "import IPython; print(IPython.sys_info())"
{'commit_hash': 'd87a8cd',
 'commit_source': 'installation',
 'default_encoding': 'US-ASCII',
 'ipython_path': '/Users/sindhus/Library/Python/2.7/lib/python/site-packages/IPython',
 'ipython_version': '2.2.0',
 'os_name': 'posix',
 'platform': 'Darwin-14.0.0-x86_64-i386-64bit',
 'sys_executable': '/usr/local/opt/python/bin/python2.7',
 'sys_platform': 'darwin',
 'sys_version': '2.7.8 (default, Aug 24 2014, 21:26:19) \n[GCC 4.2.1 Compatible Apple LLVM 5.1 (clang-503.0.40)]'}

Most helpful comment

According to this message

[TerminalIPythonApp] WARNING | Subcommand `ipython kernelspec` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter kernelspec` in the future

it looks as if the current way to go is

jupyter kernelspec list

All 4 comments

'ipython_version': '2.2.0',

Please use current master.

How do I see list of kernels in the version of python I am using? I looked at ipython --help, there doesn't seem to be an option there. thanks.

As stated above you need IPython master, which you are not running as you have 2.2.

Once you are on master

$ ipython kernelspec list
Available kernels:
  python3
  python2
  crux
  julia
  ok

According to this message

[TerminalIPythonApp] WARNING | Subcommand `ipython kernelspec` is deprecated and will be removed in future versions.
[TerminalIPythonApp] WARNING | You likely want to use `jupyter kernelspec` in the future

it looks as if the current way to go is

jupyter kernelspec list
Was this page helpful?
0 / 5 - 0 ratings