-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation Help: Kernel not recognized outside of project directory #4
Comments
Hi Eitan, thanks for reporting this.
I'll stick in on my list, but I am unsure when I'll have time to look at
this, as I have drifted out of the "k" sphere.
…On Mon, 15 May 2023 at 21:04, Eitan Lees ***@***.***> wrote:
Hey Stefan
First of all, thank you! Your resources have been exceptionally valuable
🙂 ❤️
I am trying to install the ngnk_kernel to play around with k and follow
your k book.
I have successfully compiled ngn/k <https://codeberg.org/ngn/k>, and ran
the installation script for the kernel.
Everything works as expected if I launch Jupyter from the project
directory.
If I instead launch Jupyter from another directory then I get the
following error and the kernel doesn't work.
Any advice on how to set things up so I can use this kernel independent of
where I start Jupyter?
Thank again for all that you do
-Eitan
[I 2023-05-15 15:50:56.192 ServerApp] Creating new notebook in
[I 2023-05-15 15:50:56.494 ServerApp] Kernel started: 58b678b6-38b7-4638-b4db-a72c569c1851
/Users/eitanlees/miniforge3/bin/python: No module named ngnk_kernel
[I 2023-05-15 15:50:59.484 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (1/5), new random ports
/Users/eitanlees/miniforge3/bin/python: No module named ngnk_kernel
[W 2023-05-15 15:51:00.289 ServerApp] 404 GET /api/kernels/9fb80a8b-2067-4eff-bde5-152bea787c72?1684180260277 (::1): Kernel does not exist: 9fb80a8b-2067-4eff-bde5-152bea787c72
[W 2023-05-15 15:51:00.290 ServerApp] wrote error: 'Kernel does not exist: 9fb80a8b-2067-4eff-bde5-152bea787c72'
Traceback (most recent call last):
File "/Users/eitanlees/miniforge3/lib/python3.9/site-packages/tornado/web.py", line 1713, in _execute
result = await result
File "/Users/eitanlees/miniforge3/lib/python3.9/site-packages/jupyter_server/services/kernels/handlers.py", line 72, in get
model = await ensure_async(km.kernel_model(kernel_id))
File "/Users/eitanlees/miniforge3/lib/python3.9/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 496, in kernel_model
self._check_kernel_id(kernel_id)
File "/Users/eitanlees/miniforge3/lib/python3.9/site-packages/jupyter_server/services/kernels/kernelmanager.py", line 527, in _check_kernel_id
raise web.HTTPError(404, "Kernel does not exist: %s" % kernel_id)
tornado.web.HTTPError: HTTP 404: Not Found (Kernel does not exist: 9fb80a8b-2067-4eff-bde5-152bea787c72)
[W 2023-05-15 15:51:00.292 ServerApp] 404 GET /api/kernels/9fb80a8b-2067-4eff-bde5-152bea787c72?1684180260277 (21bbdf99a89d4fa79b22056eb2675733@::1) 6.33ms referer=http://localhost:8888/lab/workspaces/auto-3/tree/Untitled3.ipynb
—
Reply to this email directly, view it on GitHub
<#4>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUQ6JECGCZPWEAQ3RUJZVDXGKD4NANCNFSM6AAAAAAYCVJOZM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
Stefan Kruger ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Stefan
First of all, thank you! Your resources have been exceptionally valuable 🙂 ❤️
I am trying to install the ngnk_kernel to play around with k and follow your k book.
I have successfully compiled ngn/k, and ran the installation script for the kernel.
Everything works as expected if I launch Jupyter from the project directory.
If I instead launch Jupyter from another directory then I get the following error and the kernel doesn't work.
Any advice on how to set things up so I can use this kernel independent of where I start Jupyter?
Thank again for all that you do
-Eitan
The text was updated successfully, but these errors were encountered: