'Jupyter' 未被识别为内部或外部命令 [英] 'Jupyter' is not recognized as an internal or external command

查看:58
本文介绍了'Jupyter' 未被识别为内部或外部命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过 Anaconda 发行版安装了 python 和 jupyter notebook.我已经成功使用 jupyter notebook 数周了,它运行得非常好.但是,我只能通过 Anaconda Navigator GUI 启动笔记本.

I installed python and jupyter notebook through the Anaconda distribution. I have been successfully using jupyter notebook for weeks and it has run perfectly fine. However, I can only launch a notebook through the Anaconda Navigator GUI.

当我尝试运行命令(在命令提示符中)启动笔记本时,它会显示

When I try to run the command (in command prompt) to start a notebook it says

'jupyter' is not recognized as an internal or external command

Python也是如此

'python' is not recognized as an internal or external command

我使用的是 Windows 10.我假设它是 PATH 问题,但我对从其他帖子中找到的解决方案没有任何运气.我对编程和 python 比较陌生,所以任何帮助都将不胜感激.

I am using Windows 10. I am assuming its a PATH issue but I have not had any luck with the solutions I found from other posts. I am relatively new to programming and python so any help would be greatly appreciated.

推荐答案

是的,这也是我在安装Jupyter Notebook时遇到的问题.但我知道这个的解决方案.我希望,它也对你有用.

Yes, This is the problem which I faced also during the installation of Jupyter Notebook. But I know the solution of this. I hope, it also works for you as well.

  1. 打开cmd.
  2. 类型:pip install notebook.
  3. 如果您键入:**jupyter notebook** - 它总是显示错误.
  4. 所以,输入:python -m notebook.
  1. Open cmd.
  2. Type: pip install notebook.
  3. If you Type: **jupyter notebook** - it always shows an error.
  4. So, Type: python -m notebook.

图片显示正在运行 Jupyter Notebook

如果你觉得这个答案对你有用并且对你有用,我希望.所以,请为其他人按下向上按钮.这样他们也能得到一些帮助.

If you feel that this answer is useful and works for you, I expected. So, please press the Up Button for other peoples. So that they can also get some help.

这篇关于'Jupyter' 未被识别为内部或外部命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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