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

lhrbest發表於2019-05-06


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]





About Me

........................................................................................................................

● 本文作者:小麥苗,部分內容整理自網路,若有侵權請聯絡小麥苗刪除

● 本文在itpub( http://blog.itpub.net/26736162 )、部落格園( http://www.cnblogs.com/lhrbest )和個人weixin公眾號( xiaomaimiaolhr )上有同步更新

● 本文itpub地址: http://blog.itpub.net/26736162

● 本文部落格園地址: http://www.cnblogs.com/lhrbest

● 本文pdf版、個人簡介及小麥苗雲盤地址: http://blog.itpub.net/26736162/viewspace-1624453/

● 資料庫筆試面試題庫及解答: http://blog.itpub.net/26736162/viewspace-2134706/

● DBA寶典今日頭條號地址: http://www.toutiao.com/c/user/6401772890/#mid=1564638659405826

........................................................................................................................

● QQ群號: 230161599 (滿) 、618766405

● weixin群:可加我weixin,我拉大家進群,非誠勿擾

● 聯絡我請加QQ好友 646634621 ,註明新增緣由

● 於 2019-05-01 06:00 ~ 2019-05-30 24:00 在魔都完成

● 最新修改時間:2019-05-01 06:00 ~ 2019-05-30 24:00

● 文章內容來源於小麥苗的學習筆記,部分整理自網路,若有侵權或不當之處還請諒解

● 版權所有,歡迎分享本文,轉載請保留出處

........................................................................................................................

小麥苗的微店 https://weidian.com/s/793741433?wfr=c&ifr=shopdetail

小麥苗出版的資料庫類叢書 http://blog.itpub.net/26736162/viewspace-2142121/

小麥苗OCP、OCM、高可用網路班 http://blog.itpub.net/26736162/viewspace-2148098/

小麥苗騰訊課堂主頁 https://lhr.ke.qq.com/

........................................................................................................................

使用 weixin客戶端 掃描下面的二維碼來關注小麥苗的weixin公眾號( xiaomaimiaolhr )及QQ群(DBA寶典)、新增小麥苗weixin, 學習最實用的資料庫技術。

........................................................................................................................

歡迎與我聯絡

 

 



來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/26736162/viewspace-2643467/,如需轉載,請註明出處,否則將追究法律責任。

相關文章