我使用conda
创建了一个虚拟环境,并安装了jupyter
(在macOS上)。我可以打开JupyterLab使用jupyter-lab
和jupyter lab
。
jupyter
和jupyter-lab
的路径为:
$ where jupyter
/Users/user/anaconda3/envs/test1/bin/jupyter
$ where jupyter-lab
/Users/user/anaconda3/envs/test1/bin/jupyter-lab
为什么要安装jupyter-lab
?这似乎是多余的。
这似乎只影响anaconda
(defaults
)通道中的最新构建(参见文件)。狭义地说,"为什么"。是因为Anaconda公司的开发人员改变了配方,要求从构建号8开始(从大约8个月前开始)需要jupyterlab
。在此之前,它不包括。
如果您想知道为什么要进行此更改,请在anaconda-issues
存储库上提交Issue。
注意Conda Forge版本不安装jupyterlab
。