Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Open 'ipython notebook' as: IPython notebook vs Jupyter

Tags:

I expected to find more documentation on the following:

From one computer: C:\Python>ipython notebook opens the browser as 'IPython Notebook'.

From second computer: C:\Python>ipython notebook opens the browser as 'Jupyter'.

I dont have a preference, but when saving from the 'Jupyter' browser, I can no longer open a .ipnb file in the 'IPython Notebook' browser. I encounter a "bad request" error.

Initially I assumed that 'ipython notebook' had been updated to use 'Jupyter' as its browser so I updated (pip install "ipython[notebook]") on both computers with no effect. Clearly I am missing something.


Did ipython notebook switch to using Jupyter? If so, am I incorrectly updating IPython?

like image 484
OnStrike Avatar asked May 12 '15 23:05

OnStrike


People also ask

Is IPython notebook and Jupyter Notebook same?

The IPython Notebook is now known as the Jupyter Notebook. It is an interactive computational environment, in which you can combine code execution, rich text, mathematics, plots and rich media. For more details on the Jupyter Notebook, please see the Jupyter website.

Does Jupyter Notebook use IPython?

Jupyter notebooks take the IPython shell to the next level. First of all, they're browser-based, not terminal-based. To get started, install jupyter .

How do I open IPython notebook?

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.

What is IPython and Jupyter?

Jupyter Notebook (formerly IPython Notebook) is a web-based interactive computational environment for creating, executing, and visualizing Jupyter notebooks.


2 Answers

ipython Notebook is now called Jupyter so perhaps a different version of Anaconda is installed on the other computer?

So Jupyter is what ipython Notebook will continue to develop as - they dropped python as it is basically "agnostic" now: it can load different languages - python 2 or 3, but also R , Julia and more.

helpful video on Jupyter intro

you can try:

pip install --upgrade "ipython[all]"

like image 159
Luke Barker Avatar answered Oct 10 '22 09:10

Luke Barker


ipython is still an active project all its own --- an interactive python program. jupyter is a language-agnostic app that branched out of ipython (specifically, ipython notebook).

The jupyter notebook is a generalization of the ipython version ---- it is now a web-app that can be used as a notebook for a huge variety of different languages (not just python). The jupyter notebook still uses ipython as the 'kernel' for running python code.

As for the practical aspects of your question: for the future, you should use jupyter to launch notebooks instead of ipython. It is now present in all of the standard package managers.

From the ipython homepage:

Jupyter and the future of IPython

IPython is a growing project, with increasingly language-agnostic components. IPython 3.x was the last monolithic release of IPython, containing the notebook server, qtconsole, etc. As of IPython 4.0, the language-agnostic parts of the project: the notebook format, message protocol, qtconsole, notebook web application, etc. have moved to new projects under the name Jupyter. IPython itself is focused on interactive Python, part of which is providing a Python kernel for Jupyter.

like image 29
DilithiumMatrix Avatar answered Oct 10 '22 09:10

DilithiumMatrix