The problem
First install jupyter, command 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
Then, it started jupyter
, but prompted an error
(venv) D:\MLiA>jupyter notebook
Error executing Jupyter command 'notebook': [Errno 'jupyter-notebook' not found] 2
The solution
Enter jupyter - notebook </ code>
(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]
Reference data: https://stackoverflow.com/questions/42648610/error-when-executing-jupyter-notebook-no-such-file-or-directory
Read More:
- Exception: jupyter command Jupiter notebook not found
- Change Jupyter Notebook Default Directory
- Nginx manager jupyter notebook v1.0.0 http websocket
- On the kernel error of jupyter notebook
- Jupyter notebook couldn’t find CONDA’s virtual environment
- Setting up a virtual environment for jupyter notebook
- Error converting jupyter notebook to PDF
- Error importing keras in jupyter Notebook: modulenotfounderror: no module named ‘keras’ solution
- Error kernel restart: restart failed was reported in the background of jupyter notebook
- Solve the problem that “figure size 640×480 with 1 axes” does not display pictures in jupyter notebook
- [Solved] Jupyter Notebook Error 500: Internal Server Error
- When executing shell script, $’r ‘: command not found appears
- There is a problem of DLL when executing G + + compile command in sublime text editor
- Solution to the error $’\ R’: command not found when executing shell script under Linux
- When installing mysql, an error occurs when executing the installation command with the CMD window. Install / Remove of the Service denied
- Error encountered while executing PIP install: error: complete output from command Python setup.py egg_ info:
- Prompt when executing sh file in Linux: nohup: unable to run command “. / startup. Sh”: insufficient permissions
- How to solve the problem of creating notebook failed
- Anaconda Jupiter notebook kernel error solution
- Ubuntu 16.04 modify jupyter default path