-
Notifications
You must be signed in to change notification settings - Fork 2
Installation Help: Kernel not recognized outside of project directory #4
Copy link
Copy link
Open
Description
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
[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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels