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

查看:122
本文介绍了“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 也是同样的情况

This is also the same case with 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天全站免登陆