多个版本的 Anaconda & Python 安装

Multiple versions of Anaconda & Python installation

我有三个问题。 第一,我可以在我的机器上安装多个版本的 Python 吗?我有一个 4 Gb RAM 系统。 二、我可以安装多个版本的Anaconda吗? 三、jupyter notebook & jupyter lab有什么区别? 请帮忙。我是新用户。

can I install multiple versions of Python on my machine?

是的,conda 包管理器(随 Anaconda 发行版一起提供)将提供帮助。您可以通过 运行ning 为要使用的每个 Python 版本创建一个单独的 conda 环境:

conda create --name mypy36env python=3.6
conda activate mypy36env

有关如何创建和管理 conda 环境的详细信息,请查看 the docs

can I install multiple versions of Anaconda?

您可以,但由于上面的答案,您不需要也不应该这样做。无需多个 Anaconda 版本,只需使用您需要的包版本创建多个环境。

您可以使用特定版本的 Python 和 Anaconda 发行版创建环境:

conda create -n anaconda201903 python=3.6 anaconda==2019.03

what is the difference between jupyter notebook & jupyter lab?

来自JupyterLab docs

JupyterLab is the next-generation web-based user interface for Project Jupyter.

基本上 JupyterLab 是一个新界面,允许您创建和 运行 与过去相同的 Jupyter 笔记本,但它的功能也比旧界面多得多。

有关更多详细信息,请查看 this blog post