Ich habe versucht, eine Liste der installierten Ipython-Kernel mit ipython kernelspec list
von http://ipython.org/ipython-doc/dev/development/kernels.html zu sehen und ich habe:
➜ ~ ipython kernelspec list
[TerminalIPythonApp] WARNING | File not found: u'kernelspec'
Ich möchte die Kernel sehen, die ich auf meinem System installiert habe. Danke.
Relevante 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)]'}
'ipython_version': '2.2.0',
Bitte verwenden Sie den aktuellen Master.
Wie kann ich die Liste der Kernel in der von mir verwendeten Python-Version anzeigen? Ich habe mir ipython --help angesehen, da scheint es keine Option zu geben. Danke.
Wie oben erwähnt, benötigen Sie einen IPython-Master, den Sie nicht ausführen, da Sie 2.2 haben.
Sobald du auf Meister bist
$ ipython kernelspec list
Available kernels:
python3
python2
crux
julia
ok
Laut dieser Nachricht
[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
es sieht so aus, als ob der aktuelle Weg der ist
jupyter kernelspec list
Hilfreichster Kommentar
Laut dieser Nachricht
es sieht so aus, als ob der aktuelle Weg der ist