0

On a Windows 7 machine, I installed Python 3.8.5, pip using the get-pip.py installation script from here, and Jupypter Lab + Jupyter Notebook following the instructions here. When trying to launch Jupyter Notebook, I get the following error message:

C:\jupyter notebook
'jupyter' is not recognized as an internal or external command,
operable program or batch file.

What is the problem? I verified that both Python and pip was successfully installed by launching the Python console and doing pip -V.

david
  • 201
  • 2
  • 10
  • It's likely that the Python environment you installed Jupyter into is not included in your system PATH variable. Can you add this to your question? – Douglas Korinke Aug 05 '20 at 18:48
  • Hi, how can I check this in Windows? I only that in Linux, you can add this to the `.bashrc` – david Aug 05 '20 at 18:51

2 Answers2

0

https://jupyter.org/install is general installation instructions, but assume some familiarity with Python, pip, and system execution path searching.

You need to add the location where pip installed jupyter to you system PATH environment variable.

To test this theory, try seeing if you have jupyter.exe in a folder similar to C:\Program Files\Python38\Scripts.

Answers to questions like this one, explain ways to edit the PATH variable.

Screenshot example of editing user's PATH: screenshot example of editing user's PATH

Kevin
  • 2,234
  • 2
  • 21
  • 26
  • Thanks, how can I do this in Windows? I just realize that I made the transition from regular Windows to regular Linux user... oO – david Aug 05 '20 at 18:52
  • @david, I edited the question with a link to Windows solution, probably at the same time you were entering your comment. – Kevin Aug 05 '20 at 18:54
0

I don't know the exact condition but try this..

"jupyter notebook"

and if it doesn't work then you might want to add installation location to your environment variables.

Shehan Hasintha
  • 947
  • 10
  • 10