简体   繁体   English

AWS 上的 jupyter 笔记本

[英]jupyter notebook on AWS

I have set up a Jupyter notebook on an AWS box, or so I thought.我已经在 AWS 盒子上设置了一个 Jupyter 笔记本,或者我是这么认为的。 When I try jupyter notebook , however, I get this:但是,当我尝试jupyter notebook时,我得到了这个:

[C 16:22:30.841 NotebookApp] The 'kernel_spec_manager_class' trait of instance must be a type, but 'environment_kernels.EnvironmentKernelSpecManager' could not be imported [C 16:22:30.841 NotebookApp] 实例的“kernel_spec_manager_class”特征必须是类型,但无法导入“environment_kernels.EnvironmentKernelSpecManager”

Any suggestions on how to fix?关于如何修复的任何建议?

EDIT actually, when I run jupyter notebook in the base environment, it works (I can't connect to it, but that's obviously a separate problem).实际上,编辑,当我在基本环境中运行 jupyter notebook 时,它可以工作(我无法连接到它,但这显然是一个单独的问题)。 However, in a "nonstandard" environment, it does not start.但是,在“非标准”环境中,它不会启动。 To answer the questions, this is an ubuntu 18.04 deep learning image, and in the environment I had installed jupyter and jupyterlab (via anaconda)回答问题,这是一张 ubuntu 18.04 深度学习图像,在我安装了 jupyter 和 jupyterlab 的环境中(通过 anaconda)

The issue seems to be same as the one described here:该问题似乎与此处描述的问题相同:

Since in your question you have not indicated that you've tried that, I think that the solution proposed in the link could be tried:由于在您的问题中您没有表示您已经尝试过,我认为可以尝试链接中提出的解决方案:

pip install environment_kernels

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM