OSError: [Errno 'jupyter-notebook' not found] 2

Hi I have installed " Anaconda3-4.3.1-Windows-x86_64 " on my desktop, but I got below error when running " jupyter notebook " command from CMD.

Mistake:

C:\Users\my pc>jupyter notebook
Traceback (most recent call last):
File "C:\Users\pr275959\AppData\Local\Continuum\Anaconda3\Scripts\jupyter-script.py", line 5, in <"module">
   sys.exit(jupyter_core.command.main())
File "C:\Users\pr275959\AppData\Local\Continuum\Anaconda3\lib\site-packages\jupyter_core\command.py", line 186, in main
_execvp(command, sys.argv[1:])
  File "C:\Users\pr275959\AppData\Local\Continuum\Anaconda3\lib\site-packages\jupyter_core\command.py", line 104, in _execvp
    raise OSError('%r not found' % cmd, errno.ENOENT)
OSError: [Errno 'jupyter-notebook' not found] 2

      

enter image description here

+3


source to share


2 answers


After installing anaconda, create a new environment using the following command

conda create -n yourenvname python=x.x anaconda

Then activate the environment using

source activate yourenvname



Now install jupyter

conda install jupyter

Then run jupyter-notebook

+4


source


For me, just installing jupyter all over the world solved it:



 conda install jupyter

      

+1


source







All Articles