[英]How to plug python in jupyter notebook?
I openned my a notebook in jupyter, but coldn't run it.我在 jupyter 中打开了我的笔记本,但没有运行它。 In corner was text
kernel error
.角落里有文字
kernel error
。 Sorting out in problem i understood, that python isn't plugged in jupiter notebok解决我理解的问题,python 没有插入木星笔记本
Want to mention, that i installed jupiter with pip, i don't use anaconda.想提一下,我用 pip 安装了 jupiter,我不使用 anaconda。 Today i downloaded python from microsoft store and after it donloaded jupiter using common command in python.
今天我从 microsoft store 下载了 python,然后使用 python 中的常用命令下载了 jupiter。
I openned Jupyter from command line (my os is windows 10 x64) using command我使用命令从命令行打开 Jupyter(我的操作系统是 windows 10 x64)
python -m notebook
Then from my desktop i openned notebook downloaded from web;然后从我的桌面上打开从 web 下载的笔记本; it openned in correct view.
它以正确的视图打开。 But no kernels work.
但是没有内核工作。
Also i found error message in cmd, where i started notebook.我还在 cmd 中发现了错误消息,我在那里启动了笔记本。 There was wrote
ImportError: DLL load failed: Не найден указанный модуль.
曾写过
ImportError: DLL load failed: Не найден указанный модуль.
. .
But further more.但更进一步。 I tried to press
ctrl + c
in cmd to enterrupt kernels, but there was wrote, shutted down 0 kernels
.我试图在 cmd 中按
ctrl + c
进入内核,但是写了, shutted down 0 kernels
。 That mean, python just wasn't plugged in jupiter notebook.这意味着,python 只是没有插入木星笔记本。 I suppose, it's the source of the problem.
我想,这就是问题的根源。
As solution i decided to install anaconda.作为解决方案,我决定安装 anaconda。 But maybe someone knows, how to fix this problem.
但也许有人知道,如何解决这个问题。
Maybe you should upgrade your prompt toolkit也许你应该升级你的提示工具包
Try this:尝试这个:
pip install --upgrade prompt-toolkit
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.