Running Jupyter via Command Line on Windows

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:
screenshot example of editing user's PATH



Related Topics



Leave a reply



Submit