Open jpc opened 1 year ago
Hi @jpc,
pip install https://github.com/davidbrochart/jupyter_server/archive/kernels_extension.zip
this does not work. It seems to try to install a jupyter_server that's a few year old? Could this work with upstreamjupyter_server
?
I just pushed a commit that should fix it.
2. It seems the dependency list is missing
pip install jupyter_server_kernels
Actually it is jupyter-server
that will require jupyter-server-kernels
, see https://github.com/jupyter-server/jupyter_server/pull/1106#issue-1468297606.
3. From the README I am not sure which part is the "remote part" which only runs the kernels. My guess would be that the
fps_uvicorn
part runs the kernels but the comment on the bottom ("Kernels should now be served from http://127.0.0.1:8000/.") seems to suggest otherwise?
No, you are right, fps_uvicorn
runs the kernels, and it's running at http://127.0.0.1:8000. JupyterLab is running at http://127.0.0.1:8888.
Both are actually running locally, and we are imagining that fps_uvicorn
runs on another machine.
kernels_extension
branch.I got it to start on Chaquopy (Python distro for Android but I am getting 404s everywhere.
12-15 08:17:47.501 15683 15712 W python.stderr: [I 2022-12-15 08:17:47 uvicorn.access] 192.168.44.135:49197 - "GET /api/sessions HTTP/1.1" 404 Not Found
12-15 08:17:50.491 15683 15712 W python.stderr: [I 2022-12-15 08:17:50 uvicorn.access] 192.168.44.135:49198 - "GET /api/sessions HTTP/1.1" 404 Not Found
12-15 08:18:01.866 15683 15712 W python.stderr: [I 2022-12-15 08:18:01 uvicorn.access] 192.168.44.135:49200 - "POST /api/sessions HTTP/1.1" 404 Not Found
Unfortunately I don't have enough time to debug this properly right now.
Hi,
This sounds like something I could use to run Jupyter notebooks inside an Android app for testing and benchmarking. But I had trouble getting it to work:
pip install https://github.com/davidbrochart/jupyter_server/archive/kernels_extension.zip
this does not work. It seems to try to install a jupyter_server that's a few year old? Could this work with upstreamjupyter_server
?pip install jupyter_server_kernels
fps_uvicorn
part runs the kernels but the comment on the bottom ("Kernels should now be served from http://127.0.0.1:8000/.") seems to suggest otherwise?Thanks for all your work modularizing and updating the Jupyter core stack.