Questions tagged [jupyter-kernel]

66 questions
23
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…
maninekkalapudi
  • 958
  • 2
  • 10
  • 23
9
votes
1 answer

lfortran in a jupyter notebook kills kernel

I can't seem to get output from the lfortran jupyter kernel. I installed via conda install for: - lfortran - jupyter I can run jupyter and select the lfortran kernel. However: I see no hello world and also no error. If in a second cell I call…
Mittenchops
  • 18,633
  • 33
  • 128
  • 246
7
votes
3 answers

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…
7
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
  • 7,728
  • 9
  • 48
  • 60
5
votes
1 answer

kube service domain name not working, but clusterIP does work with Jupyter Enterprise Gateway

I have a Jupyter notebook setup in the jupyter namespace on a kubernetes cluster, and Jupyter Enterprise Gateway setup in the enterprise-gateway namespace as a Service in the same cluster. If I configure the notebook to connect to the…
user3188040
  • 671
  • 9
  • 24
5
votes
2 answers

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

Manually Stop Jupyter Kernel and Prevent from Restarting

Background I have created a Jupyter kernel A from which I launch another kernel B. I am doing this in order to audit the execution of kernel B. So when a user selects kernel A from the interface, kernel B is launched in the background which then…
SRA
  • 63
  • 5
4
votes
1 answer

Jupyter Notebook debugging not working on VS Code

I'm trying to activate the debugging functions that are now available on VSCode for Jupyter Notebooks but I'm having some problems with that. In my interface I can see the button to 'Run by Line' next to every cell but when I click it nothing…
4
votes
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…
4
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
  • 440
  • 1
  • 4
  • 13
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
  • 2,282
  • 5
  • 25
  • 40
3
votes
1 answer

Jupyter Notebook with C programming Language (Windows OS)

How do I create a C Notebook in Anaconda Jupyter? When I ran the following commands. It does not seem to load the install_c_kernel python file. pip install jupyter-c-kernel install_c_kernel jupyter-notebook
3
votes
5 answers

set_glue_version exception after upgrading aws-glue-sessions

Using interactive Glue Sessions in a Jupyter Notebook was working correctly with the aws-glue-sessions package version 0.32 installed. After upgrading with pip3 install --upgrade jupyter boto3 aws-glue-sessions to version 0.35, the kernel would not…
3
votes
0 answers

Connecting a jupyter notebook to an existing and running ipython kernel

Short version: I have a software running its own jupyter kernel. I want to connect to this running kernel from an external source. This works fine with the --existing option of jupyter console but jupyter notebook doesn't have such a…
smagnan
  • 1,197
  • 15
  • 29
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…
1
2 3 4 5