I would like to use Emacs as main editor for iPython notebooks / Jupyter Notebook (with the package ein). I want to ask you if there is a way to run the server without the need to open a web browser.
Step 1: Run Jupyter Notebook from remote machine In most cases, this is simply done via an ssh command. Once the console shows, type the following: remoteuser@remotehost: jupyter notebook --no-browser --port=XXXX # Note: Change XXXX to the port of your choice. Usually, the default is 8888.
If you want to access your notebook server remotely via a web browser, you can do the following. You can then start the notebook and access it later by pointing your browser to https://your.host.com:9999 with ipython notebook --profile=nbserver .
The Jupyter Notebook App is a server-client application that allows editing and running notebook documents via a web browser. The Jupyter Notebook App can be executed on a local desktop requiring no internet access (as described in this document) or can be installed on a remote server and accessed through the internet.
Is this what you want?
$ ipython notebook --no-browser
Edit
Now you should use instead
$ jupyter notebook --no-browser
Since
ipython notebook
is deprecated and will be removed in future versions. You likely want to usejupyter notebook
in the future
If you don't want to type ipython notebook --no-browser
all the time,
for ipython 4.0 with jupyter:
generate config
jupyter notebook --generate-config
it would create a file at some place like
win: C:\Users\[YouUserName]\.jupyter\jupyter_notebook_config.py
linux: ~/.jupyter/jupyter_notebook_config.py
add c.NotebookApp.open_browser = False
to this file.
All done!
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