例外:未找到Jupyter命令`jupyter-notebook`,Windows [英] Exception: Jupyter command `jupyter-notebook` not found, windows

查看:418
本文介绍了例外:未找到Jupyter命令`jupyter-notebook`,Windows的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此,在安装VSCode和Python 3.7.4(64位)之后,我真的很难使"python交互式"工作.

So after installing VSCode and Python 3.7.4 (64 bit) I really struggle to make the "python interactive" work.

我已经在VScode中安装了Python扩展,也在jupyterjupyter-lab中安装了Python扩展,但是我不断收到错误消息:异常:未找到Jupyter命令jupyter-notebook".当我尝试运行单元格/一行时.

I have installed the Python extension in VScode, also jupyter and jupyter-lab but I keep getting the error "Exception: Jupyter command jupyter-notebook not found." when I try to run a cell/a line.

我正在使用pip3

推荐答案

窍门是什么,一些软件包已经过时了.

What did the trick was, that a few packages were outdated.

首先,我必须卸载pyzmq并重新安装.

Firstly I had to uninstall pyzmq and install it again.

然后我跑了pip3 install --upgrade nbconvert.

我也做了pip install --upgrade pywin32==224,但我认为上面的两个解决了问题.

I also did pip install --upgrade pywin32==224 but I think the upper two solved the problem.

经验教训:请勿同时使用conda/pip!

Lesson learned: Never use conda/pip together!

这篇关于例外:未找到Jupyter命令`jupyter-notebook`,Windows的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆