http://ipython.org/ipython-doc/dev/development/kernels.html ์์ ipython kernelspec list
๋ก ์ค์น๋ ipython ์ปค๋ ๋ชฉ๋ก์ ๋ณด๋ ค๊ณ ํ๊ณ ๋ค์์ ์ป์์ต๋๋ค.
โ ~ ipython kernelspec list
[TerminalIPythonApp] WARNING | File not found: u'kernelspec'
์์คํ ์ ์ค์นํ ์ปค๋์ ๋ณด๊ณ ์ถ์ต๋๋ค. ๊ฐ์ฌ ํด์.
๊ด๋ จ ์ ๋ณด:
โ ~ 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',
ํ์ฌ ๋ง์คํฐ๋ฅผ ์ฌ์ฉํ์ญ์์ค.
์ฌ์ฉ ์ค์ธ Python ๋ฒ์ ์์ ์ปค๋ ๋ชฉ๋ก์ ๋ณด๋ ค๋ฉด ์ด๋ป๊ฒ ํฉ๋๊น? ๋๋ ipython --help๋ฅผ ๋ณด์์ง๋ง ๊ฑฐ๊ธฐ์๋ ์ต์ ์ด์๋ ๊ฒ ๊ฐ์ต๋๋ค. ๊ฐ์ฌ.
์์์ ์ธ๊ธํ ๊ฒ์ฒ๋ผ IPython ๋ง์คํฐ๊ฐ ํ์ํฉ๋๋ค. ์ด ๋ง์คํฐ๋ 2.2์์ ์คํ ์ค์ด ์๋๋๋ค.
์ผ๋จ ๋ง์คํฐ๊ฐ ๋๋ฉด
$ ipython kernelspec list
Available kernels:
python3
python2
crux
julia
ok
์ด ๋ฉ์์ง์ ๋ฐ๋ฅด๋ฉด
[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
ํ์ฌ ๊ฐ์ผ ํ ๊ธธ์ ๋ค์๊ณผ ๊ฐ๋ค.
jupyter kernelspec list
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ด ๋ฉ์์ง์ ๋ฐ๋ฅด๋ฉด
ํ์ฌ ๊ฐ์ผ ํ ๊ธธ์ ๋ค์๊ณผ ๊ฐ๋ค.