Running Jupyter via command line on Windows
If you are absolutely sure that your Python library path is in your system variables (and you can find that path when you pip install Jupyter, you just have to read a bit) and you still experience "command not found or recognized" errors in Windows, you can try:
python -m notebook
For my Windows at least (Windows 10 Pro), having the python -m
is the only way I can run my Python packages from command line without running into some sort of error
Fatal error in launcher: Unable to create process using ' "
or
Errno 'THIS_PROGRAM' not found
Running Jupyter via command line on Windows
If you are absolutely sure that your Python library path is in your system variables (and you can find that path when you pip install Jupyter, you just have to read a bit) and you still experience "command not found or recognized" errors in Windows, you can try:
python -m notebook
For my Windows at least (Windows 10 Pro), having the python -m
is the only way I can run my Python packages from command line without running into some sort of error
Fatal error in launcher: Unable to create process using ' "
or
Errno 'THIS_PROGRAM' not found
How do I start jupyter notebook from command-line to run in my current directory, without editing config files or passing hard paths?
Best solution found so far (on Unix):
jupyter notebook --notebook-dir `pwd` &
because
jupyter notebook --notebook-dir . &
(relative-paths) won't work for commands from inside the notebook.
Can't launch Jupyter Notebook from the command line in Windows 7
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:
Related Topics
How to Tell If a String Repeats Itself in Python
How to Set the Default Color Cycle for All Subplots with Matplotlib
How to Check That Multiple Keys Are in a Dict in a Single Pass
How Does Keras Calculate the Accuracy
How Are Python In-Place Operator Functions Different Than the Standard Operator Functions
Unicodeencodeerror: 'Latin-1' Codec Can't Encode Character
Python Script for Django App to Access Models Without Using Manage.Py Shell
Using a Dictionary to Select Function to Execute
Why Are Python Strings and Tuples Are Made Immutable
How to Check If All Items in a List Are There in Another List
How to Open a Website with Urllib via Proxy in Python