Questions tagged [jupyter]

Jupyter is a collection of environments and protocols for interactive computing. It supports many languages and kernels, and works with frontends including the web application Jupyter Notebook. Jupyter was split from IPython in 2015, and Jupyter Notebook is based on IPython Notebook.

Jupyter is the home of language-agnostic projects that began as part of IPython, such as the IPython Notebook.

Jupyter was split from IPython starting with IPython 4.0 (released August 11, 2015). The parts of IPython which work for any language are now called Jupyter, while the parts specific to executing Python code remain as IPython.

Jupyter projects include:

  • JupyterLab is the next-generation web-based user interface for Project Jupyter
  • Jupyter Notebook (based on IPython notebook)
  • qtconsole
  • Jupyter protocol
  • JupyterHub (multi-user server)
  • See Jupyter Documentation for a comprehensive list of links to each of the repositories for the Jupyter project.

See also

7885 questions
64
votes
4 answers

using ipdb to debug python code in one cell (jupyter or Ipython)

I'm using jupyter (or Ipython) notebook with firefox, and want to debug some python code in the cell. I am using 'import ipdb; ipdb.set_trace()' as kind of breakpoint, for example my cell has the following code: a=4 import ipdb;…
lugger1
  • 1,843
  • 3
  • 22
  • 31
63
votes
7 answers

Changing the default port for iPython notebook server / Jupyter

I am trying to run an ipython notebook / jupyter server on a machine behind a firewall. The only port which is open is port 80. So was wondering how I can change the default port from 8890 to 80? I have ran the following command ipython profile…
jonhurlock
  • 1,798
  • 1
  • 18
  • 28
61
votes
5 answers

Jupyter notebook never finishes processing using multiprocessing (Python 3)

Jupyter Notebook I am using multiprocessing module basically, I am still learning the capabilities of multiprocessing. I am using the book by Dusty Phillips and this code belongs to it. import multiprocessing import random from…
rsc05
  • 3,626
  • 2
  • 36
  • 57
61
votes
3 answers

What does In [*] in IPython Notebook mean and how to turn it off?

I use Windows 7, Python 2.7.9 plus latest version of IPython 3.1. I ran %python inside an IPython Notebook and ran the cell, instead of returning the Python version, it did not run and jumped to a new line and printed a In [*] instead of a line…
Isak La Fleur
  • 4,428
  • 7
  • 34
  • 50
61
votes
4 answers

How to pretty print in ipython notebook via sympy?

I tried pprint, print, the former only prints Unicode version, and the latter doesn't do pretty prints. from sympy import symbols, Function import sympy.functions as sym from sympy import init_printing init_printing(use_latex=True) from sympy…
colinfang
  • 20,909
  • 19
  • 90
  • 173
60
votes
9 answers

How to obtain Jupyter Notebook's path?

Is there a function to obtain a Notebook's path? I've Googled a little on the subject but didn't find a simple way to do it... I want to obtain the Notebook's path so I can then use it elsewhere. This way I could save/use files in the same path as…
loco.loop
  • 1,441
  • 1
  • 15
  • 27
60
votes
3 answers

Jupyter Notebook: interactive plot with widgets

I am trying to generate an interactive plot that depends on widgets. The problem I have is that when I change parameters using the slider, a new plot is done after the previous one, instead I would expect only one plot changing according to the…
FLab
  • 7,136
  • 5
  • 36
  • 69
60
votes
3 answers

Exposing python jupyter on LAN

I've installed jupyter on local network LAN but im unable to access http://:8888 from another macine on LAN. I've opened ports 8888 and port range 49152 to 65535 with iptables (this range is specified at…
blue-sky
  • 51,962
  • 152
  • 427
  • 752
60
votes
6 answers

How to give jupyter cell standard input in python?

I am trying to run a program on a jupyter notebook that accepts user input, and I cannot figure out how to get it to read standard input. For example, if I run the code with shift-enter: a = input() print(a) the cell indicates it is running, but…
Alex
  • 3,946
  • 11
  • 38
  • 66
59
votes
15 answers

Jupyter command `jupyter-lab` not found

I have tried to install jupyter lab on my Kubuntu machine. If I install jupyter lab with 'pip3 install jupyter jupyterlab' the command 'jupyter notebook' works completly fine. But if I try to run 'jupyter lab' every time I get the…
CacherJoe100
  • 591
  • 1
  • 4
  • 3
59
votes
7 answers

How do I delete/refresh available kernels for IPython/Jupyter notebook v4.0?

I've recently stopped using macports so the kernel.json files I had for various IPython kernels are out of date. I have renamed ~/.ipython and removed ~/.jupyter but kernels launched are failing to start with file not found errors. More tellingly,…
jbcoe
  • 3,611
  • 1
  • 30
  • 45
58
votes
3 answers

How do I install Jupyter notebook on an Android device?

Is there a way to install a functional instance of Jupyter notebook on an Android device? Specifically, I want to use Jupyter to run a Python notebook.
tel
  • 13,005
  • 2
  • 44
  • 62
58
votes
4 answers

Best practices for turning jupyter notebooks into python scripts

Jupyter (iPython) notebook is deservedly known as a good tool for prototyping the code and doing all kinds of machine learning stuff interactively. But when I use it, I inevitably run into the following: the notebook quickly becomes too complex and…
kurtosis
  • 1,365
  • 2
  • 12
  • 27
57
votes
5 answers

Start : This command cannot be run due to the error: The system cannot find the file specified

I installed wsl(Windows Subsystem for Linux) with ubuntu and jupyter notebook on it. When I run my jupyternote book, I get this error message. Could you give me some advice? Many thanks in advance! Start : This command cannot be run due to the…
Cheolsoon Im
  • 716
  • 1
  • 6
  • 11
56
votes
8 answers

Associate ipynb files with Jupyter notebook in Windows 10 (Anaconda)

I installed Anaconda on my Windows 10 machine. I have a few Jupyter notebooks on my pc and I would like to associate them with Jupyter, so they can be opened by double-clicking on the file, to avoid having to open Jupyter and navigate to the…
DeltaIV
  • 4,773
  • 12
  • 39
  • 86