I can't start Jupyter Notbook

I can't start Jupyter Notbook. C:\Users\Vlad\jupyter>jupyter-notebook "jupyter-notebook" is not an internal or external command, executable program, or batch file. Installed via pip install jupyter Everything was installed correctly OS:Windows 10

Author: vlad kushniruk, 2020-11-07

1 answers

We check that the package is actually installed in the system

~> pip show jupyter

We get something like this output, pay attention to Location:

Name: jupyter
Version: 1.0.0
Summary: Jupyter metapackage. Install all the Jupyter components in one go.
Home-page: http://jupyter.org
Author: Jupyter Development Team
Author-email: [email protected]
License: BSD
Location: c:\users\alex\appdata\roaming\python\python39\site-packages
Requires: ipywidgets, jupyter-console, nbconvert, ipykernel, notebook, qtconsole
Required-by:

If everything is fine, you can run Jupyter using the command python -m notebook

The reason why it does not start normally is that the path to the executable file was not included in the environment variable. Go to the path where python installs packages (Location from the output above). Go to the directory above, there should be a folder 'Scripts', where lies jupyter.exe.

To run as usual, add this folder Scripts to the PATH environment variables, after which the normal ~> jupyter notebook and ~> jupyter-notebook should work.

 1
Author: Alex Krass, 2020-11-07 17:17:49