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
101
votes
14 answers

How to uninstall jupyter

I have been trying to uninstall jupyter I have tried the following commands pip uninstall jupyter pip3 uninstall jupyter and rm -rf /Users/$user/Library/Jupyter/* Even after running all these commands when I type jupyter in the terminal I get…
jigar surana
  • 1,186
  • 2
  • 8
  • 10
100
votes
4 answers

Is there a way to use pipenv with Jupyter notebook?

Is there a way to use pipenv with Jupyter notebook? Or more specifically, with an atom nteract/hydrogen python 3 kernel?
emehex
  • 9,874
  • 10
  • 54
  • 100
97
votes
10 answers

How do I reset the Jupyter/IPython input prompt numbering?

I just wrote my first extensive Python tutorial using IPython notebooks. All went well, except I did a lot of testing and moving blocks around. How do I reset the In [ ]: numbering? I have tried quitting and reloading, but that doesn't seem to…
user2651084
  • 981
  • 1
  • 6
  • 3
95
votes
11 answers

Download all files in a path on Jupyter notebook server

As a user in a class that runs Jupyter notebooks for assignments, I have access to the assignments via the web interface. I assume the assignments are stored somewhere in my personal space on the server, and so I should be able to download them. How…
Ali
  • 953
  • 1
  • 7
  • 5
95
votes
10 answers

How do I find the name of the conda environment in which my code is running?

I'm looking for a good way to figure out the name of the conda environment I'm in from within running code or an interactive python instance. The use-case is that I am running Jupyter notebooks with both Python 2 and Python 3 kernels from a…
Alnilam
  • 3,121
  • 2
  • 21
  • 22
94
votes
12 answers

Plotly chart not showing in Jupyter notebook

I have been trying to solve this issue for hours. I followed the steps on the Plotly website and the chart still doesn't show in the notebook. This is my code for the plot: colorway = ['#f3cec9', '#e7a4b6', '#cd7eaf', '#a262a9', '#6f4d96',…
Guillermina
  • 3,127
  • 3
  • 15
  • 24
91
votes
9 answers

How do I set up Jupyter/IPython Notebook for Django?

I have been using the method described in this post for setting up IPython Notebook to play nicely with Django. The gist of the method is to create an IPython extension which sets the DJANGO_SETTINGS_MODULE and runs django.setup() when IPython…
odedbd
  • 2,285
  • 3
  • 25
  • 33
88
votes
11 answers

Hide Code when exporting Jupyter notebook to HTML

I'm looking for a way to hide code cells (inputs) when export my .iipynb file to a HTML. I don't want the code cells to be visible at all (not some button that turn them off/on). The output is for people that have no idea what a programming language…
Ahmed Lahlou Mimi
  • 1,913
  • 2
  • 12
  • 21
86
votes
18 answers

Jupyter notebook not running code. Stuck on In [*]

My code was running fine before I did not change anything and I ran it again. Now it doesn't return anything not even an error. It is just stuck on "In [*]".
tedd
  • 907
  • 1
  • 6
  • 4
85
votes
7 answers

sys.path different in Jupyter and Python - how to import own modules in Jupyter?

In Jupyter my own little module is not loaded but in python/bpython is everything is fine. When typing import sys print(sys.path) the path to my module will not in show in Jupyter but in python/bpython it is still there. I am using: PYTHONPATH in…
ulf
  • 1,159
  • 1
  • 8
  • 6
83
votes
27 answers

How to change the default browser used by jupyter notebook in windows

I'm on a windows machine without admin right and I would like to run jupyter on chrome, while the default browser is another. I have a local installation of the Anaconda distribution and my first option to start jupyter would be through the Anaconda…
Marco
  • 4,000
  • 3
  • 25
  • 26
82
votes
5 answers

how to make a new line in a jupyter markdown cell

md $S$: a set of shops $I$: a set of items M wants to get I'd like to make a new line between this two sentences. We usually put " (space)" after the first sentence before a new line, but it doesn't work in Jupyter. How can I do this? Should I put…
hrsma2i
  • 4,045
  • 6
  • 15
  • 24
80
votes
4 answers

Can I run Jupyter notebook cells in commandline?

I am deploying a Python package, and I would like to run a simple test to see if all cells in my notebook will run without errors. I would like to test this via commandline as I have issues running a notebook in virtualenv. Is there are simple…
pylang
  • 40,867
  • 14
  • 129
  • 121
77
votes
7 answers

jupyter notebook running kernel in different env

I've gotten myself into some kind of horrible virtualenv mess. Help?! I manage environments with conda. Until recently, I only had a python2 jupyter notebook kernel, but I decided to drag myself kicking and screaming into the 21st century and…
Paul Gowder
  • 2,409
  • 1
  • 21
  • 36
76
votes
6 answers

Execute Python script within Jupyter notebook using a specific virtualenv

I would like to execute a long running Python script from within a Jupyter notebook so that I can hack on the data structures generated mid-run. The script has many dependencies and command line arguments and is executed with a specific virtualenv.…
Bede Constantinides
  • 2,424
  • 3
  • 25
  • 28