如何操作JupyterNotebook以切换conda虚拟环境?
- 内容介绍
- 文章标签
- 相关推荐
本文共计524个文字,预计阅读时间需要3分钟。
目录
一、安装插件
二、在虚拟环境中安装jupyter
1.进入虚拟环境
2.在虚拟环境中安装jupyter
三、重启jupyter
四、可能遇到的错误
错误1:EnvironmentLocationNotFound:Not a conda environment错误2:'jupyter' 不是内部或外部命令,也不是可运行的程序或批处理文件 目录- 一、安装插件
- 二、在虚拟环境中安装jupyter
- 1、进入虚拟环境
- 2、在虚拟环境中安装jupyter
- 三、重启jupyter
- 四、可能遇到的错误
- 错误1:EnvironmentLocationNotFound: Not a conda environment
- 错误2:AttributeError: ‘dict’ object has no attribute 'rsplit’
- 错误3:’_xsrf’ argument missing from POST
- 五、补充
- 1、conda更新
- 2、安装nbextensions插件
Jupyter Notebook本身是默认使用一种Anaconda中root目录下的Python环境的,如果想使用其它的虚拟环境,还需要通过插件来实现,也就是nb_conda插件。
本文共计524个文字,预计阅读时间需要3分钟。
目录
一、安装插件
二、在虚拟环境中安装jupyter
1.进入虚拟环境
2.在虚拟环境中安装jupyter
三、重启jupyter
四、可能遇到的错误
错误1:EnvironmentLocationNotFound:Not a conda environment错误2:'jupyter' 不是内部或外部命令,也不是可运行的程序或批处理文件 目录- 一、安装插件
- 二、在虚拟环境中安装jupyter
- 1、进入虚拟环境
- 2、在虚拟环境中安装jupyter
- 三、重启jupyter
- 四、可能遇到的错误
- 错误1:EnvironmentLocationNotFound: Not a conda environment
- 错误2:AttributeError: ‘dict’ object has no attribute 'rsplit’
- 错误3:’_xsrf’ argument missing from POST
- 五、补充
- 1、conda更新
- 2、安装nbextensions插件
Jupyter Notebook本身是默认使用一种Anaconda中root目录下的Python环境的,如果想使用其它的虚拟环境,还需要通过插件来实现,也就是nb_conda插件。

