Ubuntu 14.04 で jupyterhub を使用して ipython 2.7 ノートブックを実行しようとしていますが、方法がわかりません。助言がありますか?
ファイル ~/.ipython/kernels.json にカーネルを追加する必要があることはわかっています。このファイルには次のものがあります。
{
"argv": ["python3", "-m", "IPython.kernel",
"-f", "{connection_file}"],
"display_name": "Python 3",
"language": "python"
}
{
"argv": ["python2.7", "-m", "IPython.kernel",
"-f", "{connection_file}"],
"display_name": "Python 2",
"language": "python"
}