Ipython: ¿Cómo ver la lista de núcleos?

Creado en 20 dic. 2014  ·  4Comentarios  ·  Fuente: ipython/ipython

Intenté ver la lista de kernels ipython instalados con ipython kernelspec list de http://ipython.org/ipython-doc/dev/development/kernels.html y obtuve:

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

Me gustaría ver los núcleos que he instalado en mi sistema. Gracias.

Información relevante:

➜  ~  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)]'}

Comentario más útil

Según este mensaje

[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

parece que el camino actual a seguir es

jupyter kernelspec list

Todos 4 comentarios

'ipython_version': '2.2.0',

Utilice el maestro actual.

¿Cómo veo la lista de núcleos en la versión de Python que estoy usando? Miré ipython: ayuda, no parece haber una opción allí. Gracias.

Como se indicó anteriormente, necesita IPython master, que no está ejecutando, ya que tiene 2.2.

Una vez que estés en maestro

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

Según este mensaje

[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

parece que el camino actual a seguir es

jupyter kernelspec list
¿Fue útil esta página
0 / 5 - 0 calificaciones