Questions tagged [jupyter-console]

The Jupyter console is a terminal front-end for kernels using the Jupyter protocol. Jupyter console versions 4.0 to 5.0 are currently in use.

The Jupyter console is a terminal front-end for kernels using the Jupyter protocol.


Jupyter Console Versions

Version 4.0.0

First release as a standalone package.

After multiple enhancements **version 4.1.0 was released:

  • setuptools fixes for Windows
  • fix jupyter console --generate-config
  • readline/completion fixes
  • use is_complete messages to determine if input is complete (important for non-Python kernels)
  • fix: 4.0 was looking for jupyter_console_config in IPython config directories, not Jupyter

Version 4.1.1

  • fix for readline history

Version 5.0

Current Jupyter version used by most users.


The console can be installed with:

pip install jupyter-console

And started with:

jupyter console
90 questions
12
votes
6 answers

Jupyter Notebook (only) Memory Error, same code run in a conventional .py and works

I have an assignment for a Deep Learning class, and they provide a Jupyter notebook as a base code, the thing is that after running the data import and reshape, jupyter notebook through a "Memory Error", after some analysis y tried to compile the…
Danfoa
  • 930
  • 2
  • 11
  • 24
12
votes
12 answers

Repeated "Kernel died, restarting" forever

When I attempt to run $ jupyter qtconsole The console shows up, with the message Kernel died, restarting ________________________ Kernel died, restarting ________________________ Kernel died, restarting ________________________ Kernel died,…
Evgeni Sergeev
  • 22,495
  • 17
  • 107
  • 124
9
votes
4 answers

Change Jupyter Notebook's localhost:8888 default server with other

i have two machines connected via lan. other system's ip address is 192.1xx.x.x i want to run jupyter ipython query's on my machine which can be exexuted on his machine. at the start of ipython notebook, there is a black screen which contains…
Shubham Ringne
  • 403
  • 2
  • 6
  • 11
8
votes
1 answer

Notebook Validation Failed

While running jupyter notebook I get this error. Any idea? An invalid notebook may not function properly. The validation error was: Notebook validation failed: ['outputPrepend', 'outputPrepend', 'outputPrepend', 'outputPrepend', 'outputPrepend'] has…
7
votes
2 answers

How to free up disk space, when deleting files from Jupyter notebook

When I am removing files from Jupyter notebook environment, the disk space does not free up. I removed for about 40GB files and files disappeared from list, even from ls -a, however df -h shows that nothing happened. Also I killed all the processes…
BatyaGG
  • 674
  • 1
  • 7
  • 19
7
votes
0 answers

Get result object from iPython / Jupyter embedded Qt console

I have an embedded Jupyter console in a PyQt5 application implemented using the RichJupyterWidget widget available here. The console integration itself works fine, the Jupyter console is embedded in a Widget, Python code can be executed and the…
Isma
  • 14,604
  • 5
  • 37
  • 51
7
votes
3 answers

pandas display: truncate column display rather than wrapping

With lengthy column names, DataFrames will display in a very messy form seemingly no matter what options are set. Info: I'm in Jupyter QtConsole, pandas 0.20.1, with the following relevant options specified at…
Brad Solomon
  • 38,521
  • 31
  • 149
  • 235
6
votes
1 answer

How to render matplotlib plots in ipython

I have a container running with Python/JupyterLab and all of my dependencies. I start it with: docker run --rm -it -p 8888:8888 \ --mount type=bind,source=/project,target=/work \ python-3.9.1-jupyterlab It launches jupyterlab and I can connect…
Jeff
  • 2,293
  • 4
  • 26
  • 43
6
votes
1 answer

Prevent Jupyter Notebooks from changing the cwd

My folder structure is set out like this: - project/ - notebooks/ - notebook1.ipynb - src/ - module1.py - __init__.py - data/ - data.csv Such that I can separate my source code from the actual analysis. I would like to be…
Akhil Nair
  • 3,144
  • 1
  • 17
  • 32
5
votes
3 answers

Build failed with 500, please run 'jupyter lab build' on the server for full output in Jupyter lab

I am trying to add an extension in the jupyter lab. I go to extensions tab and click "install" on the extension. After a few seconds i get a pop up saying Build failed with 500, please run 'jupyter lab build' on the server for full output could…
dev
  • 51
  • 1
  • 1
  • 4
5
votes
0 answers

Jupyter notebook error! kernel died. It will restart automatically

ERROR: The kernel appears to have died. It will restart automatically. This is specific to few lines of code When I try print(3) I see the output in the console as 3 but when I try to run, following code it gives me an error. It was working…
5
votes
2 answers

Jupyter: How to list running kernels and which notebook started them?

I haven't found answers in github or in the jupyter help. TL;DR: I need a command-line that tells me the same thing as the %connect_info magic, in particular the line Connect with --existing kernel-4e4c970e-cccb-2485-a09d-d56efd10e278.json. My…
5
votes
1 answer

Using Vi Keys in a Jupyter Console

I would like to know how to use vi-like key bindings in a Jupyter console -- not just with ipython, but with any kernel. Previous answers show this is possible for ipython. So, perhaps there is some flag or config file where this can be specified.…
Joe Shields
  • 113
  • 6
4
votes
0 answers

Gracefully interrupt jupyter kernel through jupyter_client API

My aim is to connect to a running jupyter qtconsole using the jupyter_client API and to execute commands on that kernel remotely. Execution of code works but it seems not possible to interrupt running code from the kernel frontend using Ctrl-C…
4
votes
2 answers

How to install JupyterHub with Docker on a local machine and in a sub domain

I will run JupyterHub in a sub domain. Here is the Dockerfile, jupyterhub_config.py, .gitlab-ci.yml. My first question is how to configure the jupyter_config.py. How can I load the jupyterhub_config.py on the build in the container? How do I start…
Aaron
  • 769
  • 1
  • 14
  • 25
1
2 3 4 5 6