您好我正在使用jupyterhub运行笔记本服务器,但我无法访问不同的内核(python版本)。无法在jupyterhub中运行多个内核(Python版本)
我正确地有各种enronments设置,当我键入
jupyter kernelspec list
我得到以下输出
Available kernels:
bash /home/username/.local/share/jupyter/kernels/bash
python2 /usr/local/share/jupyter/kernels/python2
python3 /usr/local/share/jupyter/kernels/python3
但当jupyterhub启动它只能找到可用的Python3内核?
我怎样才能检测到所有可用的Python版本?
cat /usr/local/share/jupyter/kernels/python2/kernel.json
{
"display_name": "Python 2",
"language": "python",
"argv": [
"/opt/anaconda3/envs/py27/bin/python2.7",
"-m",
"ipykernel",
"-f",
"{connection_file}"
]
}
cat /usr/local/share/jupyter/kernels/python3/kernel.json
{
"language": "python",
"display_name": "Python 3",
"argv": [
"/opt/anaconda3/bin/python3",
"-m",
"ipykernel",
"-f",
"{connection_file}"
]
}