阅读 244

Error executing Jupyter command 'notebok': [Errno 'jupyter-notebok' not found] 2

C:\Users\Administrator>jupyter notebok
Error executing Jupyter command 'notebok': [Errno 'jupyter-notebok' not found] 2

 

解决:

1、使用 jupyter-notebook启动

2、重新安装:

pip3 install --upgrade --force-reinstall --no-cache-dir jupyter

 


问题

首先安装 jupyter,命令为pip install jupyter


(venv) D:\MLiA>pip install jupyter


Collecting jupyter

  Downloading https://files.pythonhosted.org/packages/83/df/0f5dd132200728a86190397e1ea87cd76244e42d39ec5e88efd25b2abd7e/jupyter-1.0.0-py2

.py3-none-any.whl

Collecting ipywidgets (from jupyter)

  Downloading https://files.pythonhosted.org/packages/34/3a/5b258ea6d584f5a8527c2295d0ebf7ffb1654e3de38d37697f88bbef6621/ipywidgets-7.4.0-

py2.py3-none-any.whl (109kB)

    100% |████████████████████████████████| 112kB 728kB/s


然后,启动jupyter notebook,却提示出错


(venv) D:\MLiA>jupyter notebook


Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2


解决方法

输入: jupyter-notebook


(venv) D:\MLiA>jupyter-notebook


[I 15:33:17.594 NotebookApp] Writing notebook server cookie secret to C:\Users\AppData\Roaming\jupyter\runtime\notebook_cookie_secre

t

[W 15:33:18.032 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')

[I 15:33:18.032 NotebookApp] Serving notebooks from local directory: D:\MLiA

[I 15:33:18.032 NotebookApp] The Jupyter Notebook is running at:

[I 15:33:18.032 NotebookApp] http://localhost:8888/?token=58d6cbb67aba487dc5f952ebdea19a8462f2ba551cd24a21

[I 15:33:18.032 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

[C 15:33:18.063 NotebookApp]


文章分类
后端
版权声明:本站是系统测试站点,无实际运营。本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 XXXXXXo@163.com 举报,一经查实,本站将立刻删除。
相关推荐