mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #10077] Jupyter not working as interpreter #15758
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @evolu8 on GitHub (Feb 15, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/10077
Bug Report
Installation Method
pip
Environment
v0.3.12]
Operating System: Mac or Linux
Browser (if applicable): Chrome and chromium
Confirmation:
Expected Behavior:
Setting Code Interpreter to Jupyter on local running lab or notebook should allow compute via that
Actual Behavior:
The closest I have got is:
Error: create_connection() got an unexpected keyword argument 'additional_headers'Description
Bug Summary:
The connection to the jupyter server appears authenticated, but the above is reported and no code executes.
Reproduction Details
Steps to Reproduce:
Jupyter lab or notebook appear to have the same behaviour. Tried three Jupyter servers now. Mac, Linux (Lab) and another linux (notebook)
Logs and Screenshots
Browser Console Logs:
[I 2025-02-15 18:54:11.123 ServerApp] User xxxxxxxxxx logged in. [I 2025-02-15 18:54:11.123 ServerApp] 302 POST /login (xxxxx@xxxxxxxx) 117.09ms [I 2025-02-15 18:54:11.126 ServerApp] 302 GET / (@192.168.1.237) 0.23ms [I 2025-02-15 18:54:11.166 ServerApp] Kernel started: cfa06acd-a7f0-49c1-bc2b-d0a3f96165c7 [I 2025-02-15 18:54:11.185 ServerApp] Kernel shutdown: cfa06acd-a7f0-49c1-bc2b-d0a3f96165c7 Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/Users/xxxxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel_launcher.py", line 16, in <module> from ipykernel import kernelapp as app File "/Users/xxxxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel/__init__.py", line 7, in <module> from .connect import * # noqa: F403 ^^^^^^^^^^^^^^^^^^^^^^ File "/Users/xxxxxxx/miniconda3/envs/py311/lib/python3.11/site-packages/ipykernel/connect.py", line 5, in <module> from __future__ import annotations File "<frozen importlib._bootstrap>", line 1176, in _find_and_load File "<frozen importlib._bootstrap>", line 1138, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1070, in _find_spec KeyboardInterruptDocker Container Logs:
Screenshots/Screen Recordings (if applicable):
Additional Information
This would be an absolute game changer function. Data scientists will love you.
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!