How do I open a .ipynb
file in the browser from the command line?
I've tried:
$ jupyter my_notebook.ipynb
But I get the cryptic:
Error executing Jupyter command 'my_notebook.ipynb': [Errno 2] No such file or directory
It's weird because that file exists (and is readable) as named.
I'm running:
$ jupyter --version
4.4.0
Double-click on the Jupyter Notebook desktop launcher (icon shows [IPy]) to start the Jupyter Notebook App. The notebook interface will appear in a new browser window or tab. A secondary terminal window (used only for error logging and for shut down) will be also opened.
Windows File Explorer + Command Prompt Once you've entered your specific folder with Windows Explorer, you can simply press ALT + D, type in cmd and press Enter. You can then type jupyter notebook to launch Jupyter Notebook within that specific folder.
You can open a named .ipynb
file by running either:
jupyter notebook my_notebook.ipynb
jupyter-notebook my_notebook.ipynb
The only difference between the two is the hyphen.
I have reported the poor error message in the question in this issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With