← 返回文章

Anaconda Notebook 使用

目录

使用

创建环境

shell
conda create --name test-program

激活环境

shell
conda activate test-program

安装 notebook

作为依赖,jupyter 会被自动安装

shell
conda install notebook

开启 jupyter notebook 服务

shell
jupyter notebook

退出当前环境

shell
conda deactivate

其他

查看 conda 版本

shell
conda --version

查看 conda 已安装的依赖

shell
conda list

列出环境

shell
conda env list

创建环境时,指定 python 版本

shell
conda create --name example312 python=3.12

导出环境

shell
conda env export > example312.yml

导入环境

shell
conda env create --file=example312.yml --name example312-2

--file, -f 指定配置文件路径

--name, -n 环境名称

删除环境

shell
conda env remove --name example312-2

视频教程:Get Started with Anaconda

anaconda 下载安装

下载地址:https://www.anaconda.com/download

查看安装截图

文章信息

基于 Git 提交记录的文章历史

发布时间
更新时间
修订次数
2 次提交
贡献者
qwas
查看 Git 提交历史
返回文章列表 →