Home/ Questions/Can I fix the “jupyter' is not recognized as an internal or external command, operable program or batch file” or not?
- 27
I get the “jupyter’ is not recognized as an internal or external command, operable program or batch file.” issue when trying to run the command (in command prompt) to start a notebook. Here is the detail of the error I got the error message:
'jupyter' is not recognized as an internal or external command
'python' is not recognized as an internal or external command
Please give me some advice to solve this problem.
- Report
When I try to access jupyter via cmd it anycodings_jupyter-notebook gives me the error line in the title. I'm anycodings_jupyter-notebook using python 3.8.5 and installed jupyter via anycodings_jupyter-notebook pip using pip install jupyter command and it anycodings_jupyter-notebook showed me the following message in the cmd anycodings_jupyter-notebook line
>pip install jupyter Requirement already satisfied: jupyter in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (1.0.0) Requirement already satisfied: jupyter-console in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (6.1.0) Requirement already satisfied: notebook in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (6.1.3) Requirement already satisfied: qtconsole in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (4.7.6) Requirement already satisfied: ipywidgets in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (7.5.1) Requirement already satisfied: ipykernel in c:\users\this pc\appdata\roaming\python\python38\site- packages (from jupyter) (5.3.4) Requirement already satisfied: nbconvert in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from jupyter) (5.6.1) Requirement already satisfied: pygments in c:\users\this pc\appdata\roaming\python\python38\site- packages (from jupyter-console->jupyter) (2.6.1) Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in c:\users\this pc\appdata\roaming\python\python38\site-packages (from jupyter-console->jupyter) (3.0.6) Requirement already satisfied: jupyter-client in c:\users\this pc\appdata\roaming\python\python38\site-packages (from jupyter-console->jupyter) (6.1.6) Requirement already satisfied: ipython in c:\users\this pc\appdata\roaming\python\python38\site- packages (from jupyter-console->jupyter) (7.17.0) Requirement already satisfied: Send2Trash in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (1.5.0) Requirement already satisfied: nbformat in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (5.0.7) Requirement already satisfied: pyzmq>=17 in c:\users\this pc\appdata\roaming\python\python38\site- packages (from notebook->jupyter) (19.0.2) Requirement already satisfied: terminado>=0.8.3 in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (0.8.3) Requirement already satisfied: prometheus-client in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (0.8.0) Requirement already satisfied: traitlets>=4.2.1 in c:\users\this pc\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (4.3.3) Requirement already satisfied: argon2-cffi in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (20.1.0) Requirement already satisfied: jinja2 in c:\users\this pc\appdata\local\programs\python\python38\lib\site-packages (from notebook->jupyter) (2.11.2) Requirement already satisfied: tornado>=5.0 in c:\users\this pc\appdata\roaming\python\python38\site- packages (from notebook->jupyter) (6.0.4) Requirement already satisfied: jupyter-core>=4.6.1 in c:\users\this pc\appdata\roaming\python\python38\site-packages (from notebook->jupyter) (4.6.3) ... WARNING: You are using pip version 20.1.1; however, version 20.2.2 is available. You should consider upgrading via the 'c:\users\this pc\appdata\local\programs\python\python38\python.exe -m pip install --upgrade pip' command.After that I tried to access jupyter anycodings_jupyter-notebook notebook by the following cmd line python -m anycodings_jupyter-notebook jupyter command but instead of opening in a anycodings_jupyter-notebook web browser it is showing me the following anycodings_jupyter-notebook error message.
Note that
- I've already added python to the environment variable so there's nothing wrong there. I checked twice.
In the path folder I've these items
so what should I do now?
29
Answers 1 : of jupyter is not recognized as an internal or external command, operable program or batch file in Windows 10
Try using jupyter notebook alone. From anycodings_jupyter-notebook my knowledge, python -m is for anycodings_jupyter-notebook referencing modules and it could just be anycodings_jupyter-notebook causing problems.
0
2022-08-01T21:42:57+00:00 2022-08-01T21:42:57+00:00Answer Link
mRahman
6
Answers 2 : of jupyter is not recognized as an internal or external command, operable program or batch file in Windows 10
Finally solved it, I had to reinstall anycodings_jupyter-notebook everything and add another path option anycodings_jupyter-notebook to the environment variable which is anycodings_jupyter-notebook C:\Users\This anycodings_jupyter-notebook PC\AppData\Roaming\Python\Python38\Scripts anycodings_jupyter-notebook the previous path was in the local anycodings_jupyter-notebook folder and this one is in the Roaming anycodings_jupyter-notebook folder. This did the trick for me.
0
2022-08-01T21:42:57+00:00 2022-08-01T21:42:57+00:00Answer Link
raja