[Bug 1223448] New: Cannot run jupyter-lab. I keep getting a 404 error.
https://bugzilla.suse.com/show_bug.cgi?id=1223448 Bug ID: 1223448 Summary: Cannot run jupyter-lab. I keep getting a 404 error. Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: banerjee.soumyadipta@gmail.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 874528 --> https://bugzilla.suse.com/attachment.cgi?id=874528&action=edit Describes the ouput to jupyter lab I cannot seem to open a new jupyter notebook on the browser. I keep getting a 404 error. The output is attached. The problem started after i updated my python setup. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223448 Chenzi Cao <chcao@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |code@bnavigator.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1223448 https://bugzilla.suse.com/show_bug.cgi?id=1223448#c2 --- Comment #2 from Tom Ban <banerjee.soumyadipta@gmail.com> --- Thank you for your comment. - jupyter lab --core-mode works fine. So, it must be the issue with the extensions. I get
jupyter labextension list
`sys_prefix` level settings are read-only, using `user` level for migration to `lockedExtensions` JupyterLab v4.1.8 /home/shom/.local/share/jupyter/labextensions nbdime-jupyterlab v2.1.1 [32menabled[0m [31m X[0m jupyterlab-snippets v0.4.1 [32menabled[0m [31m X[0m (python, jupyterlab-snippets) @krassowski/jupyterlab-lsp v3.10.1 [32menabled[0m [32mOK[0m (python, jupyterlab-lsp) @jupyterlab/git v0.37.1 [32menabled[0m [31m X[0m (python, jupyterlab-git) @jupyter-server/resource-usage v0.6.1 [32menabled[0m [31m X[0m (python, jupyter-resource-usage) /usr/share/jupyter/labextensions jupyterlab_pygments v0.3.0 [32menabled[0m [32mOK[0m (python, jupyterlab_pygments) ipyparallel-labextension v8.8.0 [32menabled[0m [32mOK[0m @jupyter-widgets/jupyterlab-manager v5.0.10 [32menabled[0m [32mOK[0m (python, jupyterlab_widgets) @jupyter/collaboration-extension v2.0.11 [32menabled[0m [32mOK[0m (python, jupyter_collaboration) @jupyter-notebook/lab-extension v7.1.2 [32menabled[0m [32mOK[0m The following extensions are outdated: nbdime-jupyterlab jupyterlab-snippets @jupyterlab/git @jupyter-server/resource-usage Consider checking if an update is available for these packages. Disabled extensions: @jupyterlab/filebrowser-extension:defaultFileBrowser But when I try to delete these packages I keep running into problems.
pip uninstall nbdime-jupyterlab
DEPRECATION: Loading egg at /usr/lib64/python3.11/site-packages/TBB-2021.12.0-py3.11-linux-x86_64.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Discussion can be found at https://github.com/pypa/pip/issues/12330 error: externally-managed-environment × This environment is externally managed ╰─> To install Python packages system-wide, try zypper install python311-xyz, where xyz is the package you are trying to install. If you wish to install a non-rpm packaged Python package, create a virtual environment using python3.11 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. If you wish to install a non-rpm packaged Python application, it may be easiest to use `pipx install xyz`, which will manage a virtual environment for you. Install pipx via `zypper install python311-pipx` . note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. hint: See PEP 668 for the detailed specification. Reading installed packages... 'nbdime-jupyterlab' not found in package names. Trying capabilities. No provider of 'nbdime-jupyterlab' found. Resolving package dependencies... Nothing to do. where as
sudo zypper rm nbdime-jupyterlab Reading installed packages... 'nbdime-jupyterlab' not found in package names. Trying capabilities. No provider of 'nbdime-jupyterlab' found. Resolving package dependencies... Nothing to do.
At this point, I am happy to remove all extensions and start fresh. So any suggestion, help in this regard will be appreciated. Thank you so much for your time! -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com