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
2
votes
0 answers

How to start Jupyter Console without colors?

jupyter console --colors=NoColor makes In [x]: and Out [x]: colorless but any error messages are still colored.
avamsi
  • 389
  • 3
  • 16
1
vote
1 answer

plt.show() causes the jupyter console to freeze if it is run from a script

I am not sure this is a bug or some of my misunderstanding. If the first case applies, please let me know so I will use the appropriate issue tracker. Consider the following ./myscript.py : import numpy as np import matplotlib.pyplot as plt tf =…
Barzi2001
  • 989
  • 8
  • 24
1
vote
1 answer

jupyter console doesn't work on my computer anymore

I sometimes use jupyter console to try out things in python. I'm running arch linux and installed everything through the arch repos. I hadn't ran jupyter console in quite some time, but while trying to launch it, i can't get it to work anymore. Here…
galdanor
  • 11
  • 3
1
vote
1 answer

jupyter-console raises an unnamed exception no matter what I type in

After opening jupyter-console in cmd, no matter what I input, I get the following unnamed exception. Any tips on what could be going wrong? Unhandled exception in event loop: File…
shintuku
  • 223
  • 1
  • 6
1
vote
0 answers

Jupyter Notebook: "AttributeError: 'WebSocketProtocol13' object has no attribute 'is_closing'"

Upon opening a ipynb file in my Jupyter application, no code will run and reserved words are not being highlighted. The hourglass icon in the window is always running. In my Jupyter terminal, here's the message it throws me File…
1
vote
2 answers

Check if jupyter notebooks run without errors from cli

I am trying to check if .ipynb files can be executed through cmd line, I have looked at runipy and papermill. I am more specifically looking for exit code 0, but none of the packages mentioned above check if the code fails anywhere. Papermill still…
1
vote
1 answer

JupyterHub installation error, while running command: ‘sudo /opt/jupyterhub/bin/jupyterhub –generate-config`

I’m new to JupyterHub and trying to install it on my VM. I’m following the instructions as mentioned on the page: https://jupyterhub.readthedocs.io/en/stable/installation-guide-hard.html. As mentioned at the step “Create the configuration for…
1
vote
0 answers

How to use token base auth in jupyterhub?

I am trying to use jupyterhub using token-based which is in Iframe. I had tried using postman by sending token as header it worked. But in browser $.ajax({ type : "GET", url : "http://jupiter.****.com/hub/login", beforeSend:…
1
vote
0 answers

Unable to clear terminal when using jupyter console

When using the jupyter console through terminal (either directly from cmd/hyper or from notebook) the clear command (and similars) outputs some emoji-like character. I can not seem to find any known issue/bug that might link up to this. Tried fresh…
kritjo
  • 11
  • 1
1
vote
0 answers

Jupyter Notebook Not Showing Output

I have using jupyter notebook for past few months. I am facing this type of problem for the first time. Exact Problem : When I run a cell on jupyter notebook it is running for long time, but not showing any output. Solution that I have already tried…
1
vote
1 answer

Jupyter QtConsole: select one of the built in CSSs as the default via configuration

I am using Jupyter in Windows. I mean to change coloring of the QT console. How can I select one of the built in CSSs as the default, via configuration file? I mean to avoid passing it as an argument as in jupyter qtconsole --style monokai. I would…
1
vote
1 answer

iPython: How can I import a newly added function from module?

I do a lot of interactive work in iPython. Currently, I'm working with Jupyter QtConsole. Suppose I start with this: from myFuncs import func1 Then I go out to myFuncs.py and add a new function, func2. If I try this: from myFuncs import…
Mastiff
  • 2,101
  • 2
  • 23
  • 38
1
vote
1 answer

How to make Jupyter Terminal fully functional?

Jupyter Lab application features nice Terminas with in-browser terminal shell that support colours, navigation keys, and pretty much all standard features of a terminal application. In this question I mean /lab app, not classic Notebook (/tree)…
greatvovan
  • 2,439
  • 23
  • 43
1
vote
1 answer

Use multiple kernels in the same Jupyter notebook

Can I use multiple kernels in the same Jupyter notebook, such as I can choose specific code-block to run with specific kernel version? Example: I want to have two code blocks in the same notebook file(.inypb), one of them has Python 2.7 code and…
1
vote
1 answer

Connecting to a running Jupyter kernel with a currently running process

Over the weekend I had some long processes running in a Jupyter notebook, but the browser window was closed at some point. According to this answer, the process shouldn't have been canceled, but whatever output I would have gotten would be lost.…
Mike S
  • 1,451
  • 1
  • 16
  • 34