# Kernels

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

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

**Page:** 3

---

## [Configure number of Spark executor pods using custom kernels and enterprise gateway for kubernetes](https://discourse.jupyter.org/t/configure-number-of-spark-executor-pods-using-custom-kernels-and-enterprise-gateway-for-kubernetes/22123)

<div class="topic-metadata">

**Author:** [@BBuchhold](https://discourse.jupyter.org/u/BBuchhold)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 2:59pm UTC](https://discourse.jupyter.org/t/configure-number-of-spark-executor-pods-using-custom-kernels-and-enterprise-gateway-for-kubernetes/22123 "2023-10-27T14:59:23Z")

</div>

I have been toying with enterprise gateway and spark. I could successfully get things to run the way I want (including with a custom kernel image and kernel spec image). Unfortunately, I’m pretty new to both, kubernetes …

---

## [While using jupyterLite my notebook does not respond](https://discourse.jupyter.org/t/while-using-jupyterlite-my-notebook-does-not-respond/22088)

<div class="topic-metadata">

**Author:** [@CathyBaars](https://discourse.jupyter.org/u/CathyBaars)\
**Replies:** 5\
**Last updated:** [October 27, 2023, 12:33pm UTC](https://discourse.jupyter.org/t/while-using-jupyterlite-my-notebook-does-not-respond/22088 "2023-10-27T12:33:47Z")

</div>

I have created a notebook for my students to learn to program python. It starts with 1+2. That simple, but when I press run, nothing happens anymore. There comes an \* before the command line but that is all. I worked a m…

---

## [Precompiling IJulia times out](https://discourse.jupyter.org/t/precompiling-ijulia-times-out/22077)

<div class="topic-metadata">

**Author:** [@Taylor\_Gibson](https://discourse.jupyter.org/u/Taylor_Gibson)\
**Replies:** 3\
**Last updated:** [October 26, 2023, 4:54pm UTC](https://discourse.jupyter.org/t/precompiling-ijulia-times-out/22077 "2023-10-26T16:54:59Z")

</div>

I’m having an issue starting Julia kernels and the Pluto interface when using the jupyter/datascience-notebook image as a base to build my own image. The issues occur when running locally on my Macbook (M1) and when used…

---

## [Understaning the architecture Jupyter kernels (zmq)](https://discourse.jupyter.org/t/understaning-the-architecture-jupyter-kernels-zmq/22066)

<div class="topic-metadata">

**Author:** [@DonJayamanne](https://discourse.jupyter.org/u/DonJayamanne)\
**Replies:** 0\
**Last updated:** [October 25, 2023, 4:51am UTC](https://discourse.jupyter.org/t/understaning-the-architecture-jupyter-kernels-zmq/22066 "2023-10-25T04:51:16Z")

</div>

Hi, please do not misunderstand the topic, I’m not trying to question the need for zmq at all. I would like to ensure I have a solid understanding of the Jupyter Kernel architecture. Given that zmq is smack in the midd…

---

## [Import os to find environment in remote notebook](https://discourse.jupyter.org/t/import-os-to-find-environment-in-remote-notebook/21708)

<div class="topic-metadata">

**Author:** [@rootsmusic](https://discourse.jupyter.org/u/rootsmusic)\
**Replies:** 0\
**Last updated:** [October 2, 2023, 1:14am UTC](https://discourse.jupyter.org/t/import-os-to-find-environment-in-remote-notebook/21708 "2023-10-02T01:14:43Z")

</div>

In a private Jupyter notebook that I didn’t create, where can I find the environment path in order to see the version of packages that are installed? I believe it’s a conda environment. I ran print(os.environ), and t…

---

## [Ipython to see environment in remote notebook](https://discourse.jupyter.org/t/ipython-to-see-environment-in-remote-notebook/21595)

<div class="topic-metadata">

**Author:** [@rootsmusic](https://discourse.jupyter.org/u/rootsmusic)\
**Replies:** 3\
**Last updated:** [September 24, 2023, 8:08pm UTC](https://discourse.jupyter.org/t/ipython-to-see-environment-in-remote-notebook/21595 "2023-09-24T20:08:19Z")

</div>

In a remote notebook that I didn’t create, can iPython show me the versions of packages that are pre-installed? Thanks.

---

## [How to remove base python3 kernel](https://discourse.jupyter.org/t/how-to-remove-base-python3-kernel/21182)

<div class="topic-metadata">

**Author:** [@gfg4](https://discourse.jupyter.org/u/gfg4)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 1:24pm UTC](https://discourse.jupyter.org/t/how-to-remove-base-python3-kernel/21182 "2023-08-30T13:24:55Z")

</div>

Hey, I’m trying to remove the python3 base kernel but it’s impossible My kernels are: $ jupyter kernelspec list Available kernels: python3 /opt/nbt/venvs/ipykernel-default/share/jupyter/kernels/python3 …

---

## [Force Jupyter kernel rendering result as markdown](https://discourse.jupyter.org/t/force-jupyter-kernel-rendering-result-as-markdown/20963)

<div class="topic-metadata">

**Author:** [@systakineko.tfs](https://discourse.jupyter.org/u/systakineko.tfs)\
**Replies:** 1\
**Last updated:** [August 19, 2023, 12:56pm UTC](https://discourse.jupyter.org/t/force-jupyter-kernel-rendering-result-as-markdown/20963 "2023-08-19T12:56:09Z")

</div>

I’m writing a new Jupyter kernel. The default output of the code cell is text, like this one: "outputs": \[ { "name": "stdout", "output\_type": "stream", "text": \[ "\<iframe width=\\"560\\" height…

---

## [Conda Enviroments are not Showing up in JupyterLab Kernel Selection](https://discourse.jupyter.org/t/conda-enviroments-are-not-showing-up-in-jupyterlab-kernel-selection/20841)

<div class="topic-metadata">

**Author:** [@Thagor](https://discourse.jupyter.org/u/Thagor)\
**Replies:** 0\
**Last updated:** [August 10, 2023, 6:30am UTC](https://discourse.jupyter.org/t/conda-enviroments-are-not-showing-up-in-jupyterlab-kernel-selection/20841 "2023-08-10T06:30:36Z")

</div>

On my development VM (CentOS) I switched from base python and JupyterLab (web version) to miniconda and JupyterLab (web version). Now I’m struggling to be able to switch to different environments. I Installed minicond…

---

## [Hiding log from OpenCV (Missing reference price, default is 0 | decode\_slice\_header error)](https://discourse.jupyter.org/t/hiding-log-from-opencv-missing-reference-price-default-is-0-decode-slice-header-error/20013)

<div class="topic-metadata">

**Author:** [@Uysim\_Ty](https://discourse.jupyter.org/u/Uysim_Ty)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 11:42am UTC](https://discourse.jupyter.org/t/hiding-log-from-opencv-missing-reference-price-default-is-0-decode-slice-header-error/20013 "2023-08-09T11:42:12Z")

</div>

My cv2 code is printing the terminal message to the Jupyter Missing reference picture, default is 0 decode\_slice\_header error I understand that the problem might be because of the video file but I just want to hide th…

---

## [How can I do a basic "hello world" using the jupyter\_client API?](https://discourse.jupyter.org/t/how-can-i-do-a-basic-hello-world-using-the-jupyter-client-api/20707)

<div class="topic-metadata">

**Author:** [@vedantroy](https://discourse.jupyter.org/u/vedantroy)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 5:28pm UTC](https://discourse.jupyter.org/t/how-can-i-do-a-basic-hello-world-using-the-jupyter-client-api/20707 "2023-07-31T17:28:16Z")

</div>

I have tried to get the jupyter\_client API working, and I cannot figure it out at all. For example. Here’s me trying to make a basic AsyncKernelManager work: import asyncio from jupyter\_client.manager import AsyncKerne…

---

## [How can I execute code on a kernel inside a fastAPI route?](https://discourse.jupyter.org/t/how-can-i-execute-code-on-a-kernel-inside-a-fastapi-route/20697)

<div class="topic-metadata">

**Author:** [@vedantroy](https://discourse.jupyter.org/u/vedantroy)\
**Replies:** 1\
**Last updated:** [July 31, 2023, 2:50pm UTC](https://discourse.jupyter.org/t/how-can-i-execute-code-on-a-kernel-inside-a-fastapi-route/20697 "2023-07-31T14:50:15Z")

</div>

I have the following code: app = FastAPI() km = KernelManager(kernel\_name="python3") client = km.client() def execute\_code(): msg\_id = client.execute("time.sleep(10)") print(msg\_id) while True: try:…

---

## [Jupyter Enterprise Gateway with Spark-on-k8s](https://discourse.jupyter.org/t/jupyter-enterprise-gateway-with-spark-on-k8s/12577)

<div class="topic-metadata">

**Author:** [@aldu29](https://discourse.jupyter.org/u/aldu29)\
**Replies:** 3\
**Last updated:** [July 25, 2023, 2:27pm UTC](https://discourse.jupyter.org/t/jupyter-enterprise-gateway-with-spark-on-k8s/12577 "2023-07-25T14:27:14Z")

</div>

Hello ! Is it possible to use Spark-on-k8s with JEG ? I want to use Spark based on k8s behind JEG If a tuto, guide, doc exist I would appreciate the link. Thanks

---

## [Custom jupyter kernel in a continuous restart loop](https://discourse.jupyter.org/t/custom-jupyter-kernel-in-a-continuous-restart-loop/20481)

<div class="topic-metadata">

**Author:** [@roger](https://discourse.jupyter.org/u/roger)\
**Replies:** 3\
**Last updated:** [July 23, 2023, 5:10am UTC](https://discourse.jupyter.org/t/custom-jupyter-kernel-in-a-continuous-restart-loop/20481 "2023-07-23T05:10:44Z")

</div>

Hi, I have a custom jupyter kernel written. The kernel as such seems to work OK because I can test it by starting it from the command line like so python3 -m kernelname and eventually execute commands. But the notebook …

---

## [Jupyterhub: Kernels in different environments not working](https://discourse.jupyter.org/t/jupyterhub-kernels-in-different-environments-not-working/20425)

<div class="topic-metadata">

**Author:** [@gizmo11](https://discourse.jupyter.org/u/gizmo11)\
**Replies:** 1\
**Last updated:** [July 16, 2023, 3:56pm UTC](https://discourse.jupyter.org/t/jupyterhub-kernels-in-different-environments-not-working/20425 "2023-07-16T15:56:31Z")

</div>

Hi, I’m not able to get xeus-cling- and R-kernel to work in jupyterlab or notebook startet from jupyterhub. My system : Ubuntu 22.04 with miniconda3 installed in /opt. I have an environment for jupyterhub (jupyterhube…

---

## [Jupyter Server: Multiple Connections to the same Kernel](https://discourse.jupyter.org/t/jupyter-server-multiple-connections-to-the-same-kernel/20276)

<div class="topic-metadata">

**Author:** [@Butch78](https://discourse.jupyter.org/u/Butch78)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 12:21pm UTC](https://discourse.jupyter.org/t/jupyter-server-multiple-connections-to-the-same-kernel/20276 "2023-07-07T12:21:05Z")

</div>

Hi, I’m a Student at the University of Zurich and for our Master’s project, we are trying to create a non-linear Juptyer Notebook. For the MVP we are just trying to connect a custom React UI to a Jupyter Server. We are…

---

## [Kernel Keeps dying and restarting](https://discourse.jupyter.org/t/kernel-keeps-dying-and-restarting/18988)

<div class="topic-metadata">

**Author:** [@bilalkhan0987](https://discourse.jupyter.org/u/bilalkhan0987)\
**Replies:** 1\
**Last updated:** [July 2, 2023, 4:17pm UTC](https://discourse.jupyter.org/t/kernel-keeps-dying-and-restarting/18988 "2023-07-02T16:17:21Z")

</div>

Dear Jupyter community, For some weird reasons, my kernel keeps dying and restarting whenever I’m trying to load my CNN model. Would anyone be able to help me on this? Thanks

---

## [Jupyter REPL data](https://discourse.jupyter.org/t/jupyter-repl-data/20028)

<div class="topic-metadata">

**Author:** [@JuliaShevelevaNN](https://discourse.jupyter.org/u/JuliaShevelevaNN)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 2:19pm UTC](https://discourse.jupyter.org/t/jupyter-repl-data/20028 "2023-06-20T14:19:07Z")

</div>

Hi, I need a help. I added interactive console REPL into my site (on react.js) using \<iframe src="https://jupyterlite.github.io/demo/repl/index.html?kernel=python&toolbar=1" ... In jupyter control I open csv file, w…

---

## [Custom front-end talking to remote iPython Kernel: Blank response instead of 'execute\_reply'](https://discourse.jupyter.org/t/custom-front-end-talking-to-remote-ipython-kernel-blank-response-instead-of-execute-reply/15229)

<div class="topic-metadata">

**Author:** [@levlzer0](https://discourse.jupyter.org/u/levlzer0)\
**Replies:** 4\
**Last updated:** [June 8, 2023, 3:26pm UTC](https://discourse.jupyter.org/t/custom-front-end-talking-to-remote-ipython-kernel-blank-response-instead-of-execute-reply/15229 "2023-06-08T15:26:47Z")

</div>

Hi All, I’m building a web python ‘notebook’ that would execute python code against a remote iPython kernel. I am running to issues with communicating to the remote kernel from my custom front-end. For development, I …

---

## [Enabling ipywidgets in custom kernel](https://discourse.jupyter.org/t/enabling-ipywidgets-in-custom-kernel/19537)

<div class="topic-metadata">

**Author:** [@stan7123](https://discourse.jupyter.org/u/stan7123)\
**Replies:** 2\
**Last updated:** [May 23, 2023, 12:11pm UTC](https://discourse.jupyter.org/t/enabling-ipywidgets-in-custom-kernel/19537 "2023-05-23T12:11:17Z")

</div>

Hello, I have a custom Python kernel which is (in short) executing python on remote machine. I’m trying to make ipywidgets work but I get no control rendered in notebook (for instance FileUpload), and also there are er…

---

## [How should we get source files from a remote kernel environment?](https://discourse.jupyter.org/t/how-should-we-get-source-files-from-a-remote-kernel-environment/19371)

<div class="topic-metadata">

**Author:** [@krassowski](https://discourse.jupyter.org/u/krassowski)\
**Replies:** 1\
**Last updated:** [May 13, 2023, 1:04pm UTC](https://discourse.jupyter.org/t/how-should-we-get-source-files-from-a-remote-kernel-environment/19371 "2023-05-13T13:04:49Z")

</div>

When an error occurs, a traceback is shown. It often includes a path to the files where the error occurred. Users would benefit from a way to open that file. The file can be either: within the Jupyter root directory (t…

---

## [Restrict Jupyterhub kernal for some users](https://discourse.jupyter.org/t/restrict-jupyterhub-kernal-for-some-users/19325)

<div class="topic-metadata">

**Author:** [@Saravana\_Shanmuganat](https://discourse.jupyter.org/u/Saravana_Shanmuganat)\
**Replies:** 0\
**Last updated:** [May 10, 2023, 1:25pm UTC](https://discourse.jupyter.org/t/restrict-jupyterhub-kernal-for-some-users/19325 "2023-05-10T13:25:26Z")

</div>

Hi, We are just working on jupyterhub. And we had a question when we started to work. We just want to restrict Jupyterhub kernal for some users. If there any steps please let me know. Thanks Regards Saran

---

## [How to install OpenAI npm package in the Javascript kernel in JupyterLite?](https://discourse.jupyter.org/t/how-to-install-openai-npm-package-in-the-javascript-kernel-in-jupyterlite/19065)

<div class="topic-metadata">

**Author:** [@Work\_LY](https://discourse.jupyter.org/u/Work_LY)\
**Replies:** 4\
**Last updated:** [April 26, 2023, 11:36am UTC](https://discourse.jupyter.org/t/how-to-install-openai-npm-package-in-the-javascript-kernel-in-jupyterlite/19065 "2023-04-26T11:36:04Z")

</div>

OpenAI’s ChatGPT is very hot. I am willing to try it in JupyterLite with OpenAI’s APIs. So I can access its service in browsers easily, even on mobile. But I couldn’t find a way to install it in the Javascript kernel in…

---

## ["Connection to the notebook server could not be established........"](https://discourse.jupyter.org/t/connection-to-the-notebook-server-could-not-be-established/10263)

<div class="topic-metadata">

**Author:** [@Shaz](https://discourse.jupyter.org/u/Shaz)\
**Replies:** 5\
**Last updated:** [April 14, 2023, 4:30pm UTC](https://discourse.jupyter.org/t/connection-to-the-notebook-server-could-not-be-established/10263 "2023-04-14T16:30:08Z")

</div>

Hi guys, i am trying to open the d2l notebook for but kernel does not connect. I uninstalled and reinstalled everything but getting same error again. Please if somebody can help …i am mentioning details below plz

---

## [Error connecting jupyterhub on EKS to JEG of emr on eks](https://discourse.jupyter.org/t/error-connecting-jupyterhub-on-eks-to-jeg-of-emr-on-eks/18813)

<div class="topic-metadata">

**Author:** [@sree](https://discourse.jupyter.org/u/sree)\
**Replies:** 0\
**Last updated:** [April 4, 2023, 8:48pm UTC](https://discourse.jupyter.org/t/error-connecting-jupyterhub-on-eks-to-jeg-of-emr-on-eks/18813 "2023-04-04T20:48:47Z")

</div>

I m trying to use jupyter enterprise gateway created emr on eks cluster using aws emr-containers cli command in jupyterhub on eks. Below is my helm config.yml to install jupyterhub. hub: config: Authenticator: admin\_…

---

## [Creating a new kernel without installing ipykernel in venv](https://discourse.jupyter.org/t/creating-a-new-kernel-without-installing-ipykernel-in-venv/18541)

<div class="topic-metadata">

**Author:** [@baggiponte](https://discourse.jupyter.org/u/baggiponte)\
**Replies:** 6\
**Last updated:** [April 3, 2023, 9:23am UTC](https://discourse.jupyter.org/t/creating-a-new-kernel-without-installing-ipykernel-in-venv/18541 "2023-04-03T09:23:43Z")

</div>

Hello! I would like to create a kernel without having to install ipykernel in my venv, because it slows down dependency resolution considerably. I tried a couple of hacks, but none worked, and IDEs do not offer this feat…

---

## [HPC cluster based on singularity image for Jupyter kernel](https://discourse.jupyter.org/t/hpc-cluster-based-on-singularity-image-for-jupyter-kernel/18608)

<div class="topic-metadata">

**Author:** [@sebasmos](https://discourse.jupyter.org/u/sebasmos)\
**Replies:** 0\
**Last updated:** [March 24, 2023, 12:13pm UTC](https://discourse.jupyter.org/t/hpc-cluster-based-on-singularity-image-for-jupyter-kernel/18608 "2023-03-24T12:13:15Z")

</div>

Hi, I am trying to deploy a singularity image to run cells on a Jupyter notebook within a HPC cluster, I was following this tutorial https://notebook.community/zebulasampedro/singularity-jupyter-demo/managing-custom-jupy…

---

## [Propagating Enterprise Gateway Error Messages to the Frontend (e.g. Jupyter Lab)](https://discourse.jupyter.org/t/propagating-enterprise-gateway-error-messages-to-the-frontend-e-g-jupyter-lab/18293)

<div class="topic-metadata">

**Author:** [@broden-wanner](https://discourse.jupyter.org/u/broden-wanner)\
**Replies:** 6\
**Last updated:** [March 7, 2023, 4:14pm UTC](https://discourse.jupyter.org/t/propagating-enterprise-gateway-error-messages-to-the-frontend-e-g-jupyter-lab/18293 "2023-03-07T16:14:09Z")

</div>

Hi everyone! I am working with Enterprise Gateway and want to be able to propagate error messages (such as those raised from kernel creation timeouts) from Enterprise Gateway to the end user in Jupyter Lab. Currently, Ju…

---

## [List Kernel JSON Response Explanation](https://discourse.jupyter.org/t/list-kernel-json-response-explanation/18021)

<div class="topic-metadata">

**Author:** [@bloomsa](https://discourse.jupyter.org/u/bloomsa)\
**Replies:** 5\
**Last updated:** [February 17, 2023, 3:46pm UTC](https://discourse.jupyter.org/t/list-kernel-json-response-explanation/18021 "2023-02-17T15:46:06Z")

</div>

Hi, I have an Enterprise Gateway setup for running kernels and was wondering about the specifics of the JSON response body for the GET api/kernels endpoint. Most of the fields are self explanatory, but I want to know wha…

---

## [Notebook cannot connect to the kernel in Windows 10](https://discourse.jupyter.org/t/notebook-cannot-connect-to-the-kernel-in-windows-10/17945)

<div class="topic-metadata">

**Author:** [@cbasile2](https://discourse.jupyter.org/u/cbasile2)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 5:56am UTC](https://discourse.jupyter.org/t/notebook-cannot-connect-to-the-kernel-in-windows-10/17945 "2023-02-13T05:56:25Z")

</div>

Hi I am trying to use jupyter notebook in my Windows computer. It was working ok, but all of a sudden cannot connect to the kernel. I open anaconda navigator fine, and I click on launch jupyter lab. Then, I wait and it n…

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

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