安装
常用命令
//查看安装包conda list//查看当前虚拟环境conda evn list 或 conda info -e// 创建虚拟环境conda create -n name//克隆虚拟环境conda crate -n name --clone other_env_name// 激活虚拟环境activate name// 关闭虚拟环境deactivate//删除虚拟环境conda remove -n name
安装jupyter notebook
activate name # 激活虚拟环境conda install jupyter notebook
设置jupyter notebook启动目录
//生成配置文件jupyter notebook --generate-config//配置文件中修改c.NotebookApp.notebook_dir = 'D:\jupyter-notebook'
