# Kernels

**URL:** https://discourse.jupyter.org/c/kernels/42.md?page=1

[Latest](https://discourse.jupyter.org/latest.md) · [Categories](https://discourse.jupyter.org/categories.md) · [Tags](https://discourse.jupyter.org/tags.md)

**Page:** 2

---

## [Can jupyterlab have both local and remote kernels](https://discourse.jupyter.org/t/can-jupyterlab-have-both-local-and-remote-kernels/28916)

<div class="topic-metadata">

**Author:** [@waaffles](https://discourse.jupyter.org/u/waaffles)\
**Replies:** 7\
**Last updated:** [October 18, 2024, 7:31pm UTC](https://discourse.jupyter.org/t/can-jupyterlab-have-both-local-and-remote-kernels/28916 "2024-10-18T19:31:22Z")

</div>

Hello all! We currently run jupyterlab as a headless server with some base kernels but allow the install of various other kernels via conda environments. We’d like the ability to also reference remote kernels in addition…

---

## [How to make enterprise\_gateway use an existing kernel pod?](https://discourse.jupyter.org/t/how-to-make-enterprise-gateway-use-an-existing-kernel-pod/29151)

<div class="topic-metadata">

**Author:** [@Gamattention](https://discourse.jupyter.org/u/Gamattention)\
**Replies:** 0\
**Last updated:** [October 12, 2024, 10:28am UTC](https://discourse.jupyter.org/t/how-to-make-enterprise-gateway-use-an-existing-kernel-pod/29151 "2024-10-12T10:28:29Z")

</div>

Hi!everyone! I have a scenario where I want different Jupyter notebooks to reuse the same kernel pod to avoid the overhead of deploying a kernel pod each time. Here is an example: I’ve already deployed a notebook p…

---

## [Gateways and Kernel Provisioners](https://discourse.jupyter.org/t/gateways-and-kernel-provisioners/25840)

<div class="topic-metadata">

**Author:** [@bloomsa](https://discourse.jupyter.org/u/bloomsa)\
**Replies:** 2\
**Last updated:** [October 7, 2024, 10:55pm UTC](https://discourse.jupyter.org/t/gateways-and-kernel-provisioners/25840 "2024-10-07T22:55:44Z")

</div>

Hello! I’ve been using Enterprise-Gateway for a bit now and have some questions about it’s future position with the inclusion of Kernel Provisioners in jupyter\_client 7.0. As I’ve been operating Enterprise Gateway a desi…

---

## [JupyterLite Kernel not responding](https://discourse.jupyter.org/t/jupyterlite-kernel-not-responding/27664)

<div class="topic-metadata">

**Author:** [@MartinaMJ](https://discourse.jupyter.org/u/MartinaMJ)\
**Replies:** 7\
**Last updated:** [September 9, 2024, 10:30pm UTC](https://discourse.jupyter.org/t/jupyterlite-kernel-not-responding/27664 "2024-09-09T22:30:51Z")

</div>

Hello. I have been using JupyterLite for a few months I have noticed this bug: I don’t know if it possible to see in the gif, but I noticed that after a few interactions, the plot stops changing. I noticed that the Ke…

---

## [Improving IJava Kernel](https://discourse.jupyter.org/t/improving-ijava-kernel/19459)

<div class="topic-metadata">

**Author:** [@Humberto\_Soares](https://discourse.jupyter.org/u/Humberto_Soares)\
**Replies:** 1\
**Last updated:** [September 4, 2024, 9:01pm UTC](https://discourse.jupyter.org/t/improving-ijava-kernel/19459 "2024-09-04T21:01:56Z")

</div>

Hi guys, I want to improve the IJava Kernel (GitHub - SpencerPark/IJava: A Jupyter kernel for executing Java code.), but I am a little lost. For example, I would like to have all the magics and output we have with the …

---

## [Why \`tornado.web.HTTPError: HTTP 403: Forbidden\`?](https://discourse.jupyter.org/t/why-tornado-web-httperror-http-403-forbidden/24775)

<div class="topic-metadata">

**Author:** [@VladimirFokow](https://discourse.jupyter.org/u/VladimirFokow)\
**Replies:** 3\
**Last updated:** [August 18, 2024, 6:49pm UTC](https://discourse.jupyter.org/t/why-tornado-web-httperror-http-403-forbidden/24775 "2024-08-18T18:49:47Z")

</div>

I’m trying to run Isaac Sim in jupyter notebook. It worked before, and now it doesn’t; I’m afraid I broke something… This error looks more general than only about Isaac Sim - it’s about tornado… When I start jupyter no…

---

## [Unable to run jupyter in android 13, kernel dies. #7018](https://discourse.jupyter.org/t/unable-to-run-jupyter-in-android-13-kernel-dies-7018/23986)

<div class="topic-metadata">

**Author:** [@Warut\_t](https://discourse.jupyter.org/u/Warut_t)\
**Replies:** 1\
**Last updated:** [August 14, 2024, 8:49pm UTC](https://discourse.jupyter.org/t/unable-to-run-jupyter-in-android-13-kernel-dies-7018/23986 "2024-08-14T20:49:33Z")

</div>

I am having this problem now. Any solution or alternative frontend to link with IPython in Termux (nonroot Android)?

---

## [Infinite loading when importing libraries](https://discourse.jupyter.org/t/infinite-loading-when-importing-libraries/17152)

<div class="topic-metadata">

**Author:** [@luis](https://discourse.jupyter.org/u/luis)\
**Replies:** 8\
**Last updated:** [July 20, 2024, 8:42pm UTC](https://discourse.jupyter.org/t/infinite-loading-when-importing-libraries/17152 "2024-07-20T20:42:41Z")

</div>

Hi! I am facing some issues when importing libraries, as the cell will stay loading \[\*\] and never end. When I start the notebook I can run any python code that doesn’t require external libraries, I can also import numpy…

---

## [How to send and receive messages from kernel in Python?](https://discourse.jupyter.org/t/how-to-send-and-receive-messages-from-kernel-in-python/18428)

<div class="topic-metadata">

**Author:** [@warnerm06](https://discourse.jupyter.org/u/warnerm06)\
**Replies:** 2\
**Last updated:** [July 5, 2024, 11:32am UTC](https://discourse.jupyter.org/t/how-to-send-and-receive-messages-from-kernel-in-python/18428 "2024-07-05T11:32:45Z")

</div>

Hello, I am working on a custom front end for an application and would like to use the ipython kernel. I am having trouble reliably receiving messages. ipykernel==6.21.3 jupyter-client==8.0.3 With this script I can la…

---

## [How to connect ipython kernel with custom frontend?](https://discourse.jupyter.org/t/how-to-connect-ipython-kernel-with-custom-frontend/24570)

<div class="topic-metadata">

**Author:** [@shraysalvi](https://discourse.jupyter.org/u/shraysalvi)\
**Replies:** 1\
**Last updated:** [July 5, 2024, 11:25am UTC](https://discourse.jupyter.org/t/how-to-connect-ipython-kernel-with-custom-frontend/24570 "2024-07-05T11:25:42Z")

</div>

ipython profile create my\_kernel --ipython-dir="./ipython\_dir" ipython kernel -f="./confs/c1.json" --matplotlib --ipython-dir="./ipython\_dir" --profile="my\_kernel" This gives me file c1.json { "shell\_port": 33135, …

---

## [How to get mariadb-kernal to function in Jupyter on Windows](https://discourse.jupyter.org/t/how-to-get-mariadb-kernal-to-function-in-jupyter-on-windows/26522)

<div class="topic-metadata">

**Author:** [@Grendel](https://discourse.jupyter.org/u/Grendel)\
**Replies:** 1\
**Last updated:** [June 25, 2024, 2:00am UTC](https://discourse.jupyter.org/t/how-to-get-mariadb-kernal-to-function-in-jupyter-on-windows/26522 "2024-06-25T02:00:23Z")

</div>

pip install mariadb Kernel Collecting mariadb Downloading mariadb-1.1.10-cp312-cp312-win\_amd64.whl.metadata (3.2 kB) ERROR: Could not find a version that satisfies the requirement Kernel (from versions: none) ERROR:…

---

## [Anaconda3 packages affecting tensorflow/keras on Jupyter notebook?](https://discourse.jupyter.org/t/anaconda3-packages-affecting-tensorflow-keras-on-jupyter-notebook/26103)

<div class="topic-metadata">

**Author:** [@Tobena-04](https://discourse.jupyter.org/u/Tobena-04)\
**Replies:** 2\
**Last updated:** [June 19, 2024, 9:18pm UTC](https://discourse.jupyter.org/t/anaconda3-packages-affecting-tensorflow-keras-on-jupyter-notebook/26103 "2024-06-19T21:18:43Z")

</div>

I have had issues with tensorflow/keras for a while where it won’t run on jupyter (the kernel gets killed and is forced to restart) as well as locally on my python IDE – pycharm: /Library/Frameworks/Python.framework/Ver…

---

## [As-sandboxed-as-reasonable kernels in kubernetes](https://discourse.jupyter.org/t/as-sandboxed-as-reasonable-kernels-in-kubernetes/25011)

<div class="topic-metadata">

**Author:** [@Greg\_Parkison](https://discourse.jupyter.org/u/Greg_Parkison)\
**Replies:** 0\
**Last updated:** [April 5, 2024, 9:02pm UTC](https://discourse.jupyter.org/t/as-sandboxed-as-reasonable-kernels-in-kubernetes/25011 "2024-04-05T21:02:49Z")

</div>

Hi, I’m working on a solution for incrementally executing AI-generated code in as-sandboxed-as-reasonable environments. I’m new to developing with the Jupyter suite of components, so I would appreciate any pointers in th…

---

## [Python kernel that picks up environment from directory](https://discourse.jupyter.org/t/python-kernel-that-picks-up-environment-from-directory/19606)

<div class="topic-metadata">

**Author:** [@bluss](https://discourse.jupyter.org/u/bluss)\
**Replies:** 7\
**Last updated:** [April 5, 2024, 11:28am UTC](https://discourse.jupyter.org/t/python-kernel-that-picks-up-environment-from-directory/19606 "2024-04-05T11:28:43Z")

</div>

How to best configure different kernels with different python virtualenvs (or similar) in different projects and directories? Instead of installing a separate kernel per virtualenv, I want to install just one versatile …

---

## [Jupyter client not working with remote jupyter kernel gateway deploy on gcp](https://discourse.jupyter.org/t/jupyter-client-not-working-with-remote-jupyter-kernel-gateway-deploy-on-gcp/24676)

<div class="topic-metadata">

**Author:** [@Aman\_Sehrawat](https://discourse.jupyter.org/u/Aman_Sehrawat)\
**Replies:** 0\
**Last updated:** [March 21, 2024, 6:06am UTC](https://discourse.jupyter.org/t/jupyter-client-not-working-with-remote-jupyter-kernel-gateway-deploy-on-gcp/24676 "2024-03-21T06:06:58Z")

</div>

\`import jupyter\_client import logging logging.basicConfig(level=logging.DEBUG) k = jupyter\_client.KernelManager(ip=‘example.com’,transport=“tcp”,ports=\[8888\]) k.start\_kernel() kc = k.client() kc.start\_channels() k…

---

## [Need some help to solve the problem](https://discourse.jupyter.org/t/need-some-help-to-solve-the-problem/24326)

<div class="topic-metadata">

**Author:** [@arthurgadler](https://discourse.jupyter.org/u/arthurgadler)\
**Replies:** 0\
**Last updated:** [March 6, 2024, 6:41pm UTC](https://discourse.jupyter.org/t/need-some-help-to-solve-the-problem/24326 "2024-03-06T18:41:08Z")

</div>

Erro ao iniciar o kernel Erro não tratado Saiba mais Traceback (última chamada mais recente): Arquivo “C:\\Users\\arthu\\miniconda3\\envs\\python\\Lib\\site-packages\\tornado\\web.py”, linha 1786, em \_execute resultado = agu…

---

## [%matplotlib qt doesn't work in single user notebooks z2jh](https://discourse.jupyter.org/t/matplotlib-qt-doesnt-work-in-single-user-notebooks-z2jh/24191)

<div class="topic-metadata">

**Author:** [@bpfrd](https://discourse.jupyter.org/u/bpfrd)\
**Replies:** 0\
**Last updated:** [February 29, 2024, 12:18pm UTC](https://discourse.jupyter.org/t/matplotlib-qt-doesnt-work-in-single-user-notebooks-z2jh/24191 "2024-02-29T12:18:25Z")

</div>

Hello, %matplotlib qt rendering doesn’t work in single-user notebooks in z2jh. Here is part of the error: File ~/.local/lib/python3.11/site-packages/matplotlib/backends/backend\_qtagg.py:9 5 import ctypes 7 …

---

## [Unable to implement User Impersonation on Enterprise Gateway](https://discourse.jupyter.org/t/unable-to-implement-user-impersonation-on-enterprise-gateway/24042)

<div class="topic-metadata">

**Author:** [@Bharti\_Upadhyay](https://discourse.jupyter.org/u/Bharti_Upadhyay)\
**Replies:** 0\
**Last updated:** [February 20, 2024, 7:38pm UTC](https://discourse.jupyter.org/t/unable-to-implement-user-impersonation-on-enterprise-gateway/24042 "2024-02-20T19:38:53Z")

</div>

I am trying to configure user impersonation on JEG installed on a standalone VM. Here is my run.sh to start Enterprise Gateway. jupyter enterprisegateway --ip=10.157.142.90 --port=8899 --port\_retries=0 --log-level=DEBU…

---

## [Improved handling for when you paste "continue", "break", or "return" control flow statements into IPython](https://discourse.jupyter.org/t/improved-handling-for-when-you-paste-continue-break-or-return-control-flow-statements-into-ipython/23967)

<div class="topic-metadata">

**Author:** [@erotemic](https://discourse.jupyter.org/u/erotemic)\
**Replies:** 8\
**Last updated:** [February 16, 2024, 7:52pm UTC](https://discourse.jupyter.org/t/improved-handling-for-when-you-paste-continue-break-or-return-control-flow-statements-into-ipython/23967 "2024-02-16T19:52:05Z")

</div>

Not sure if this is the right place, but I have an idea for a feature that I think would improve IPython / Jupyter. Use Case: Often when I copy paste code from a .py file into an IPython terminal it is code that exists…

---

## [Error when trying to connect to kernel](https://discourse.jupyter.org/t/error-when-trying-to-connect-to-kernel/23935)

<div class="topic-metadata">

**Author:** [@JohnRagland](https://discourse.jupyter.org/u/JohnRagland)\
**Replies:** 0\
**Last updated:** [February 14, 2024, 7:40pm UTC](https://discourse.jupyter.org/t/error-when-trying-to-connect-to-kernel/23935 "2024-02-14T19:40:19Z")

</div>

I am running jupyter lab on a remote server (Ubuntu 20.04.5 LTS) and connecting to the server with a local computer. I have two local computers that I use to connect to the server. iMac 2019 i7 running Sonoma 14.3 MacB…

---

## [Can I connect to a notebook session from node?](https://discourse.jupyter.org/t/can-i-connect-to-a-notebook-session-from-node/9986)

<div class="topic-metadata">

**Author:** [@najeem](https://discourse.jupyter.org/u/najeem)\
**Replies:** 2\
**Last updated:** [January 12, 2024, 7:19pm UTC](https://discourse.jupyter.org/t/can-i-connect-to-a-notebook-session-from-node/9986 "2024-01-12T19:19:23Z")

</div>

Hi, I browsed through the nodejs example here. It uses a python script to start the jupyter notebook server. My question is if it’s possible to connect to an already started notebook session from node? I tried by passi…

---

## [KIP, containerd and ImagePullSecrets](https://discourse.jupyter.org/t/kip-containerd-and-imagepullsecrets/23342)

<div class="topic-metadata">

**Author:** [@BBuchhold](https://discourse.jupyter.org/u/BBuchhold)\
**Replies:** 3\
**Last updated:** [January 11, 2024, 2:48pm UTC](https://discourse.jupyter.org/t/kip-containerd-and-imagepullsecrets/23342 "2024-01-11T14:48:12Z")

</div>

I’m running into problems with kernel images in a private registry and a cluster using containerd. What I configured: # Create RBAC resources rbac: true # ImagePullSecrets for a ServiceAccount, list of secrets in…

---

## [Changing Kernel issues in Jupyter Notebook oy Jupyter Lab](https://discourse.jupyter.org/t/changing-kernel-issues-in-jupyter-notebook-oy-jupyter-lab/23075)

<div class="topic-metadata">

**Author:** [@Jennifer\_Wan](https://discourse.jupyter.org/u/Jennifer_Wan)\
**Replies:** 0\
**Last updated:** [December 24, 2023, 2:03pm UTC](https://discourse.jupyter.org/t/changing-kernel-issues-in-jupyter-notebook-oy-jupyter-lab/23075 "2023-12-24T14:03:37Z")

</div>

Dear all, May I have your help on below issues? I’ve created two visual environments in Anaconda for the tensor flow package, and after some coding in the anaconda prompt, it appears different kernels options in the “…

---

## [How does the server\_listener import get resovled in gateway\_provisioners?](https://discourse.jupyter.org/t/how-does-the-server-listener-import-get-resovled-in-gateway-provisioners/22782)

<div class="topic-metadata">

**Author:** [@divyansshhh](https://discourse.jupyter.org/u/divyansshhh)\
**Replies:** 2\
**Last updated:** [December 9, 2023, 12:45pm UTC](https://discourse.jupyter.org/t/how-does-the-server-listener-import-get-resovled-in-gateway-provisioners/22782 "2023-12-09T12:45:06Z")

</div>

I’m trying to setup a python kernel in a different host using gateway\_provisioners but I’m trying to figure out how this import in the launch\_ipykernel.py file gets resolved? Do we manually need to add the path to serve…

---

## [K8s service account kernel-controller and PVCs in EG](https://discourse.jupyter.org/t/k8s-service-account-kernel-controller-and-pvcs-in-eg/22665)

<div class="topic-metadata">

**Author:** [@BBuchhold](https://discourse.jupyter.org/u/BBuchhold)\
**Replies:** 2\
**Last updated:** [December 2, 2023, 11:03am UTC](https://discourse.jupyter.org/t/k8s-service-account-kernel-controller-and-pvcs-in-eg/22665 "2023-12-02T11:03:51Z")

</div>

I would love to use pvcs as local storage for my executors. I have found Running Spark on Kubernetes - Spark 3.5.0 Documentation to describe exactly what I need. However, I have run into the issue that executors cannot …

---

## [Using Hive Tables in EG Spark Sessions](https://discourse.jupyter.org/t/using-hive-tables-in-eg-spark-sessions/22421)

<div class="topic-metadata">

**Author:** [@BBuchhold](https://discourse.jupyter.org/u/BBuchhold)\
**Replies:** 3\
**Last updated:** [December 1, 2023, 5:56pm UTC](https://discourse.jupyter.org/t/using-hive-tables-in-eg-spark-sessions/22421 "2023-12-01T17:56:19Z")

</div>

I recon I might be lacking a fundamental piece of understanding here. So far, I got my own pyspark kernels running in k8s (with my local jupyter lab connected to the eg) and inside I managed to read a parquet file from …

---

## [How to extend default timeout for kernel launching?](https://discourse.jupyter.org/t/how-to-extend-default-timeout-for-kernel-launching/22564)

<div class="topic-metadata">

**Author:** [@TacticalChipi](https://discourse.jupyter.org/u/TacticalChipi)\
**Replies:** 0\
**Last updated:** [November 24, 2023, 2:50pm UTC](https://discourse.jupyter.org/t/how-to-extend-default-timeout-for-kernel-launching/22564 "2023-11-24T14:50:33Z")

</div>

Hello, I am currently facing an issue that cannot be replicated consistently, sometimes it happens some other times it does not. I am issuing the following command on bash: jupyter nbconvert --execute --to notebook --…

---

## [Pyspark kernel not found in Quay.io/jupyter/pyspark-notebook docker image](https://discourse.jupyter.org/t/pyspark-kernel-not-found-in-quay-io-jupyter-pyspark-notebook-docker-image/22446)

<div class="topic-metadata">

**Author:** [@Loic\_Tregan](https://discourse.jupyter.org/u/Loic_Tregan)\
**Replies:** 0\
**Last updated:** [November 17, 2023, 8:38am UTC](https://discourse.jupyter.org/t/pyspark-kernel-not-found-in-quay-io-jupyter-pyspark-notebook-docker-image/22446 "2023-11-17T08:38:33Z")

</div>

Hi, I launch Jupyter with docker: %docker pull Quay %docker run -p 10000:8888 Quay Once I open the browser, the %pyspark magic is not recognized and “Kernel | Change Kernel” does not give me pyspark as option. Thoug…

---

## [Multiplexing of the channels on one websocket without specifying the channels field in the Message Header](https://discourse.jupyter.org/t/multiplexing-of-the-channels-on-one-websocket-without-specifying-the-channels-field-in-the-message-header/22174)

<div class="topic-metadata">

**Author:** [@cano707](https://discourse.jupyter.org/u/cano707)\
**Replies:** 1\
**Last updated:** [October 30, 2023, 7:40pm UTC](https://discourse.jupyter.org/t/multiplexing-of-the-channels-on-one-websocket-without-specifying-the-channels-field-in-the-message-header/22174 "2023-10-30T19:40:17Z")

</div>

Hi, I have been digging through the documentation to find an answer to the following question: Does the message type dictate which channel the message will be received on? I am asking because in on this Documentation P…

---

## [What is the right way to determine if a %gui qt event loop is running?](https://discourse.jupyter.org/t/what-is-the-right-way-to-determine-if-a-gui-qt-event-loop-is-running/22160)

<div class="topic-metadata">

**Author:** [@kushalkolar](https://discourse.jupyter.org/u/kushalkolar)\
**Replies:** 0\
**Last updated:** [October 30, 2023, 4:56am UTC](https://discourse.jupyter.org/t/what-is-the-right-way-to-determine-if-a-gui-qt-event-loop-is-running/22160 "2023-10-30T04:56:06Z")

</div>

I need to determine if something is running in one of the following scenarios: in jupyter with no running Qt event loop, i.e. the user has NOT called %gui qt in jupyter with a running Qt event loop, the user has called…

[Previous page](https://discourse.jupyter.org/c/kernels/42.md)

[Next page](https://discourse.jupyter.org/c/kernels/42.md?page=2)
