[Solved] Exception: Jupyter command `jupyter-notbook` not found.

 

The default environment of adconda is base. When I switch to the environment I created and start jupyter notbook, the following exception occurs

(python35) D:\workspace\pythonDL\ocr\keras_ocr>jupyter notbook
Traceback (most recent call last):
File “d:\tool\anaconda3\envs\python35\lib\runpy.py”, line 193, in _run_module_as_main
“__main__”, mod_spec)
File “d:\tool\anaconda3\envs\python35\lib\runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “D:\tool\Anaconda3\envs\python35\Scripts\jupyter.exe\__main__.py”, line 9, in <module>
File “d:\tool\anaconda3\envs\python35\lib\site-packages\jupyter_core\command.py”, line 247, in main
command = _jupyter_abspath(subcommand)
File “d:\tool\anaconda3\envs\python35\lib\site-packages\jupyter_core\command.py”, line 134, in _jupyter_abspath
‘Jupyter command `{}` not found.’.format(jupyter_subcommand)
Exception: Jupyter command `jupyter-notbook` not found.

Installation required

(python35) C:\Users\..>pip install ipykernel(python35) C:\Users\小松>
(python35) C:\Users\..>python -m ipykernel install –user –name python35 –display-name “Python [conda env:python35]”
Installed kernelspec python35 in C:\Users\…\AppData\Roaming\jupyter\kernels\python35

(python35) C:\Users\..>jupyter notebook
[I 14:17:44.082 NotebookApp] JupyterLab extension loaded from D:\tool\Anaconda3\lib\site-packages\jupyterlab

Similar Posts: