Anaconda 安装后,手动安装 JupyterNotebook、JupyterLab

Anaconda 在Windows 中安装完成后,会建立一个主环境。

1,提供  Anaconda Navigator 这个图形化工具,可以 管理虚拟环境、应用安装(JupyterNotebook、JupyterLab 等)。

     miniconda 环境安装:    conda install 【--name base】 anaconda-navigator  ,其中  --name base 指定目标环境,不提供为当前环境。

                                              conda remove --name base anaconda-navigator ,  删除。

    下载某个特定版本:          conda install anaconda-navigator=2.4.0 conda=23.3.1

     更新版本:一般启动时自动进行。手动更新:  conda update --name base conda,  

                                                                               conda update --name base anaconda-navigator

2、提供  Cmd 命令快捷方式 (或PowerShell),在 “(Base)环境” 执行命令,用于 创建虚拟环境、安装应用。

     (1) 安装 JupyterLab

       conda安装: conda install -c conda-forge jupyterlab

            pip安装: pip install jupyterlab

     (2)  命令窗口启动:       jupyter  lab  或   jupyter-lab     访问地址:  http://localhost:8891/lab

           限制“工作目录”:     jupyter  lab  或   jupyter-lab  --notebook-dir=C:\Users\Administrator\Q量化_开发\Pybroker   ,参数后=不能有空格(Space)

   (3)安装 JupyterNotebook

               pip   安装与升级:  pip install jupyter        或     pip install -U jupyter

           conda 安装与升级:  conda install jupyter,conda update jupyter,                  安装完成,会产生快捷启动菜单。

 

3、JupyterLab Desktop   :   jupyterlab/jupyterlab-desktop: JupyterLab desktop application, based on Electron.

      安装文件: https://github.com/jupyterlab/jupyterlab-desktop/releases/latest/download/JupyterLab-Setup-Windows-x64.exe

     

4、DataSpell   比 PyCharm 更适合 Notebook

 

 

 

 

  

posted @ 2025-07-12 19:35  Hopesun  阅读(206)  评论(0)    收藏  举报