Questions tagged [jupyter-kernel]

40 questions
14
votes
1 answer

What is a kernel in Jupyter Notebook and how it is different/similar to actual kernel (related to Operating System)?

I hear and see a lot of this word "kernel" as I'm using Jupyter Notebook a bit. I just want to know what "kernel" represents in Jupyter Notebook. Is it the same meaning that we use in Operating System? If it is similar/different, how exactly? Do…
5
votes
1 answer

ModuleNotFoundError for spyder-kernels module installed via pip

I am attempting to use conda to install spyder-kernels and instantiate a kernel on a remote server as per the instructions here: https://docs.spyder-ide.org/ipythonconsole.html When I run the command python -m spyder_kernels.console I get an…
Selah
  • 6,562
  • 6
  • 44
  • 51
5
votes
1 answer

Jupyter notebook kernel disconnecting / dead after sometime and cannot reconnect to amazon EC2 instance and complete ( currently running) operation.

When I connect to EC2 instance via Mobaxterm, after some period of time my jupyter notebook's kernel loses connection. And some highly time-consuming operations /(Currently running tasks) are required to be re-performed again and again and are…
4
votes
1 answer

Send code snippet for execution to Jupyter Kernel Gateway through API

I need to execute a python script on the jupyter kernel gateway through the websocket mode of the API. Not sure if this is can be accomplished via the websocket mode, as there is hardly any resource available online and the docs for this particular…
Madhavi Jouhari
  • 1,705
  • 4
  • 21
  • 38
3
votes
1 answer

Jupyter kernel uses different Python version than Conda environment

I am not able to link Jupyter kernels to their parent Conda environments. After creating a new kernel linked to Conda environment, I'm getting a different version of Python and its dependencies inside Jupyter lab. Here are the steps I…
3
votes
0 answers

Jupyter-Notebooks stuck at "Kernel starting,please wait" (R Kernel)

I'm new to Jupyter Notebooks and whenever I try to create a new notebook i'm unable to run any code because the R Kernel doesn't start. The window shows a message that reads "Kernel starting, please wait" and then changes to "Reconeccting". So far…
3
votes
1 answer

How to install SageMath kernel in Anaconda?

I'm trying to use Sage in Anaconda 3 but it looks that the libraries are not imported. I firstly created a new environment 'ipykernel_py2' and then installed Python 2 as explained in here. With this I can have both Python 3 and Python 3 up and…
J. Serra
  • 179
  • 1
  • 2
  • 9
3
votes
1 answer

Kernel dies again and again

I'm working with python in Jupyter notebook using virtualenv in Ubuntu 16.04 but as soon I create a new file the kernel dies and it happens again and again. This happens although I restarted the whole process again for several times
2
votes
1 answer

POST request validation on Jupyter kernel gateway

I'm trying to understand how to pass data via POST request method in Jupyter notebook kernel gateway and make a validation of the parameters. I have already made some tests with GET method and It works as expected: import json # GET /get req =…
UgoL
  • 743
  • 1
  • 8
  • 26
1
vote
1 answer

Snakemake - Jupyter lab notebook does not find kernel

When writing a program in a jupyter lab notebook using R or python I install specific conda environments as kernels to access that environment-specific packages from a single jupyter lab installation in the base conda environment After finishing…
1
vote
0 answers

Kernel Won't start in Jupyter notebook in python 3 version

Recently I install the latest version of anaconda with python 3 version on my mac OS Catalina. When I am opening the jupyter notebook, the kernel is not starting. I am getting the following error on the terminal; The Jupyter Notebook is running…
1
vote
0 answers

Kernelspec error while trying to run PapermillOperator in Airflow

I am trying to execute .ipynb file from Airflow in ubuntu WSL using PapermillOperator. But my task keeps failing with error KeyError: 'kernelspec'. Looking at other answers from various posts I tried several approaches but it is not working. I have…
mockash
  • 872
  • 2
  • 10
  • 21
1
vote
0 answers

JupyterLab kernel log to web console

I have created a jupyterlab extension and trying to execute a code in the kernel using requestExecute method. Registering the IOPub callback gives back the kernel output which i wanted it log to the JupyterLab web console extension. execute code…
ikiw
  • 330
  • 1
  • 4
  • 13
1
vote
2 answers

Kernel error: jupyter_client/connect.py AssertionError

Error message Traceback (most recent call last): File "/home/djan/anaconda3/lib/python3.7/site-packages/tornado/web.py", line 1699, in _execute result = await result File…
JDDS
  • 45
  • 7
1
vote
0 answers

Is it possible to disable the "shutdown" option in Jupyter Notebook for a custom kernel?

A part of my current thesis is about analyzing Jupyter Notebook. My professor asked me if it's possible to remove the possibility to shutdown a Kernel (forcefully) from a notebook (front-end). The reason behind it is that we want to create an IoT…
1
2 3