列出所有可用的环境非常简单:
$ conda env list
现在如何列出当前安装的内核,而不必转到路径:
$ ls /home/{{user}}/.local/share/jupyter/kernels/
答案 0 :(得分:9)
安装Jupyter后,您将获得当前安装的内核列表:
$ jupyter kernelspec list
python2 /usr/local/lib/python2.7/dist-packages/ipykernel/resources
testenv /home/{{user}}/.local/share/jupyter/kernels/sparkenv