# \#kernel-gateway

**URL:** https://discourse.jupyter.org/tag/kernel-gateway/13.md

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

---

## [How to connect a local jupyterlab notebook to a remote kernel?](https://discourse.jupyter.org/t/how-to-connect-a-local-jupyterlab-notebook-to-a-remote-kernel/11781)

<div class="topic-metadata">

**Author:** [@pll\_llq](https://discourse.jupyter.org/u/pll_llq)\
**Replies:** 14\
**Last updated:** [October 10, 2025, 6:05pm UTC](https://discourse.jupyter.org/t/how-to-connect-a-local-jupyterlab-notebook-to-a-remote-kernel/11781 "2025-10-10T18:05:00Z")

</div>

Hi everyone! I need some advice, please. What would be the most simple way to connect a running jupyter lab to a remote kernel? I’ve briefly looked into the kernel and enterprise gateways and some extensions but the JE…

---

## [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…

---

## [How to send output of jupyterlab-execute-time extension to kernel](https://discourse.jupyter.org/t/how-to-send-output-of-jupyterlab-execute-time-extension-to-kernel/22246)

<div class="topic-metadata">

**Author:** [@Terlan](https://discourse.jupyter.org/u/Terlan)\
**Replies:** 0\
**Last updated:** [November 5, 2023, 5:19pm UTC](https://discourse.jupyter.org/t/how-to-send-output-of-jupyterlab-execute-time-extension-to-kernel/22246 "2023-11-05T17:19:25Z")

</div>

Hi, I would like to be able to send output of jupyterlab-execute-time extension to python side and print it out on kernel everytime cell gets rendered. How can I achieve that? I am new to Jupyterlab and I dont know much …

---

## [Can't connect to python kernel](https://discourse.jupyter.org/t/cant-connect-to-python-kernel/22019)

<div class="topic-metadata">

**Author:** [@mohamedmgamal](https://discourse.jupyter.org/u/mohamedmgamal)\
**Replies:** 1\
**Last updated:** [October 23, 2023, 11:13am UTC](https://discourse.jupyter.org/t/cant-connect-to-python-kernel/22019 "2023-10-23T11:13:35Z")

</div>

i am trying to run python script on jupyter using docker compose but can’t connect to python kernel and this is my docker compose file which running on ubuntu vm : services: jupyter: container\_name: jupyter …

---

## [How do I prevent users from changing their kernel?](https://discourse.jupyter.org/t/how-do-i-prevent-users-from-changing-their-kernel/20271)

<div class="topic-metadata">

**Author:** [@Seonh0](https://discourse.jupyter.org/u/Seonh0)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 8:16am UTC](https://discourse.jupyter.org/t/how-do-i-prevent-users-from-changing-their-kernel/20271 "2023-07-07T08:16:50Z")

</div>

Can I fix settings that use specific kernels and specific notebook files? How do I prevent users from changing their kernel?

---

## [How to get kernel state from running local jupyter notebook?](https://discourse.jupyter.org/t/how-to-get-kernel-state-from-running-local-jupyter-notebook/15028)

<div class="topic-metadata">

**Author:** [@sohanur\_shanto](https://discourse.jupyter.org/u/sohanur_shanto)\
**Replies:** 7\
**Last updated:** [June 19, 2023, 8:22am UTC](https://discourse.jupyter.org/t/how-to-get-kernel-state-from-running-local-jupyter-notebook/15028 "2023-06-19T08:22:33Z")

</div>

Hey, I want to get kernel state whether it is idle or busy from the local running jupyter notebook. How should I proceed? It would be best If I can get those using command line

---

## [Papermill Import not working on Jupyter Server](https://discourse.jupyter.org/t/papermill-import-not-working-on-jupyter-server/19249)

<div class="topic-metadata">

**Author:** [@AkhilKumar0702](https://discourse.jupyter.org/u/AkhilKumar0702)\
**Replies:** 0\
**Last updated:** [May 4, 2023, 10:51am UTC](https://discourse.jupyter.org/t/papermill-import-not-working-on-jupyter-server/19249 "2023-05-04T10:51:26Z")

</div>

I am unable to import papermill. Pasting error that I am getting. I am using JupyterHub + enterprise kernel gateway --------------------------------------------------------------------------- AssertionError …

---

## [Get metadata of the cell in kernel](https://discourse.jupyter.org/t/get-metadata-of-the-cell-in-kernel/17428)

<div class="topic-metadata">

**Author:** [@ragokan](https://discourse.jupyter.org/u/ragokan)\
**Replies:** 0\
**Last updated:** [January 4, 2023, 9:30am UTC](https://discourse.jupyter.org/t/get-metadata-of-the-cell-in-kernel/17428 "2023-01-04T09:30:03Z")

</div>

Hello, we do have a kernel for JupyterLab and we want to enhance it, but there is one problem for us. Currently, we can’t get the cell metadata on the kernel but we would like to pass extra data to the kernel to process,…

---

## [Ownership of KERNEL\_WORKING\_DIR](https://discourse.jupyter.org/t/ownership-of-kernel-working-dir/17136)

<div class="topic-metadata">

**Author:** [@debashis1982](https://discourse.jupyter.org/u/debashis1982)\
**Replies:** 9\
**Last updated:** [December 8, 2022, 9:00pm UTC](https://discourse.jupyter.org/t/ownership-of-kernel-working-dir/17136 "2022-12-08T21:00:39Z")

</div>

Hi, I am setting KERNEL\_WORKING\_DIR in the kernel via Enterprise Gateway running on kubernetes. While I am able to do so successfully, I am not able to make the directory writeable to the user running the kernel pod. It…

---

## [Using Jupyter Widgets on another kernels](https://discourse.jupyter.org/t/using-jupyter-widgets-on-another-kernels/17126)

<div class="topic-metadata">

**Author:** [@ragokan](https://discourse.jupyter.org/u/ragokan)\
**Replies:** 6\
**Last updated:** [December 7, 2022, 6:32pm UTC](https://discourse.jupyter.org/t/using-jupyter-widgets-on-another-kernels/17126 "2022-12-07T18:32:03Z")

</div>

Hello, I created a widget following this: Jupyter Widgets — Jupyter Widgets 8.0.2 documentation and it works very well with Python kernel. But what I want to do is using a custom kernel to render the widget, how can I do…

---

## [Setting environment variables in remote kernels](https://discourse.jupyter.org/t/setting-environment-variables-in-remote-kernels/16692)

<div class="topic-metadata">

**Author:** [@debashis1982](https://discourse.jupyter.org/u/debashis1982)\
**Replies:** 7\
**Last updated:** [November 9, 2022, 3:48am UTC](https://discourse.jupyter.org/t/setting-environment-variables-in-remote-kernels/16692 "2022-11-09T03:48:25Z")

</div>

Hi, We are using enterprise gateway to spin up kernels in kubernetes. Enterprise Gateway is also running on Kubernetes. We want to set custom environment variables in kernels while they are being created so that they a…

---

## [Jupyterlab kernel goes to unknown state while using visual debugger ipykernel version 6.4.2](https://discourse.jupyter.org/t/jupyterlab-kernel-goes-to-unknown-state-while-using-visual-debugger-ipykernel-version-6-4-2/13422)

<div class="topic-metadata">

**Author:** [@Putta\_Sumanth\_Reddy](https://discourse.jupyter.org/u/Putta_Sumanth_Reddy)\
**Replies:** 0\
**Last updated:** [March 15, 2022, 12:46pm UTC](https://discourse.jupyter.org/t/jupyterlab-kernel-goes-to-unknown-state-while-using-visual-debugger-ipykernel-version-6-4-2/13422 "2022-03-15T12:46:06Z")

</div>

Am using jupyterlab version 3.0 with python 3.7 & ipkernel 6.4.2, while run script in debug mode, suddenly kernel is going to unknown state, i checked logs it displaying following message… \[E 2022-03-15 11:56:05.004 Sin…

---

## [Install a kernel to Jupyter](https://discourse.jupyter.org/t/install-a-kernel-to-jupyter/9701)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.jupyter.org/u/brett_knoss)\
**Replies:** 0\
**Last updated:** [June 22, 2021, 5:10pm UTC](https://discourse.jupyter.org/t/install-a-kernel-to-jupyter/9701 "2021-06-22T17:10:17Z")

</div>

How do I install a kernel other than Python3 to Jupyter. I’d like to add the iCrystal and Julia kernels.

---

## [Kernel Error in jupyter notebook after launching from Anaconda](https://discourse.jupyter.org/t/kernel-error-in-jupyter-notebook-after-launching-from-anaconda/9435)

<div class="topic-metadata">

**Author:** [@Vijay\_vittal](https://discourse.jupyter.org/u/Vijay_vittal)\
**Replies:** 0\
**Last updated:** [June 2, 2021, 9:45am UTC](https://discourse.jupyter.org/t/kernel-error-in-jupyter-notebook-after-launching-from-anaconda/9435 "2021-06-02T09:45:34Z")

</div>

Kernel Error after I installed Anaconda and launched Jupiter. Please help me resolve this issue. Traceback (most recent call last): File "C:\\Users\\Lenovo\\anaconda3\\lib\\site-packages\\tornado\\web.py", line 1704, in \_exe…

---

## [Kernel with CodeMirror simpleMode defined, not surviving refresh](https://discourse.jupyter.org/t/kernel-with-codemirror-simplemode-defined-not-surviving-refresh/1692)

<div class="topic-metadata">

**Author:** [@am262327](https://discourse.jupyter.org/u/am262327)\
**Replies:** 1\
**Last updated:** [April 14, 2021, 6:01pm UTC](https://discourse.jupyter.org/t/kernel-with-codemirror-simplemode-defined-not-surviving-refresh/1692 "2021-04-14T18:01:27Z")

</div>

Hi there guys, I wrote a kernel with syntax highlighting built-in. It works great! I load it up, and everything highlights with the colors I gave it. The issue though is that the syntax highlighting doesn’t work when I …

---

## [Unable to download PDF](https://discourse.jupyter.org/t/unable-to-download-pdf/6919)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.jupyter.org/u/brett_knoss)\
**Replies:** 3\
**Last updated:** [December 2, 2020, 5:24am UTC](https://discourse.jupyter.org/t/unable-to-download-pdf/6919 "2020-12-02T05:24:57Z")

</div>

nbconvert failed: Inkscape executable not found I get this error, and it prevents me from creating a document. Does it matter if my kernel is Julia or JuliaPro? If so, how do I change the kernel?

---

## [Switching off & switching between gateways for some kernels](https://discourse.jupyter.org/t/switching-off-switching-between-gateways-for-some-kernels/3611)

<div class="topic-metadata">

**Author:** [@wabu](https://discourse.jupyter.org/u/wabu)\
**Replies:** 0\
**Last updated:** [March 13, 2020, 8:42am UTC](https://discourse.jupyter.org/t/switching-off-switching-between-gateways-for-some-kernels/3611 "2020-03-13T08:42:38Z")

</div>

Hey, Is it possible to switch between different --gateway-url to start a specific kernel? Or use a remote gateway only for some kernels but be able to lunch local kernels too? Couldn’t find anything about such a more d…

---

## [ELI5 Kernel Gateway](https://discourse.jupyter.org/t/eli5-kernel-gateway/536)

<div class="topic-metadata">

**Author:** [@jhermann](https://discourse.jupyter.org/u/jhermann)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 7:47pm UTC](https://discourse.jupyter.org/t/eli5-kernel-gateway/536 "2019-03-20T19:47:35Z")

</div>

I’m not sure yet how KG fits into an overall “(auto-)scaled JupyterHub” picture, i.e. my mental image of it is all foggy. Where are all the cogs located (in a K8s setup)? Can I execute notebooks “in the cloud” using it, …
