Skip to content
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

Missing or misshapen translation settings schema #6974

Open
taktikal17 opened this issue Jul 21, 2023 · 75 comments
Open

Missing or misshapen translation settings schema #6974

taktikal17 opened this issue Jul 21, 2023 · 75 comments

Comments

@taktikal17
Copy link

taktikal17 commented Jul 21, 2023

I am getting an error when launching jupyter.
I uninstalled everything including python (with brew) and still not solving the issue.

The folder /opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/
doesn't contain the jupyter folder.

[I 2023-07-20 23:41:40.032 ServerApp] Package notebook took 0.0000s to import
[I 2023-07-20 23:41:40.034 ServerApp] notebook | extension was successfully linked.
[I 2023-07-20 23:41:40.077 ServerApp] notebook | extension was successfully loaded.
[I 2023-07-20 23:41:40.078 ServerApp] Serving notebooks from local directory: /Users/<>/dev
[I 2023-07-20 23:41:40.078 ServerApp] Jupyter Server 2.7.0 is running at:
[I 2023-07-20 23:41:40.078 ServerApp] http://localhost:8888/tree?token=f9035f29fdb2ce27b7c4664295b20b6ad5aa3315937fecc5
[I 2023-07-20 23:41:40.078 ServerApp]     http://127.0.0.1:8888/tree?token=f9035f29fdb2ce27b7c4664295b20b6ad5aa3315937fecc5
[I 2023-07-20 23:41:40.078 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-07-20 23:41:40.086 ServerApp] 
    
    To access the server, open this file in a browser:
        file:///Users/<>/Library/Jupyter/runtime/jpserver-6423-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/tree?token=f9035f29fdb2ce27b7c4664295b20b6ad5aa3315937fecc5
        http://127.0.0.1:8888/tree?token=f9035f29fdb2ce27b7c4664295b20b6ad5aa3315937fecc5
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[W 2023-07-20 23:41:42.105 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-07-20 23:41:42.106 JupyterNotebookApp] Settings directory does not exist at /opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas
[W 2023-07-20 23:41:42.146 JupyterNotebookApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-07-20 23:41:42.146 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1689910902143 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json
[W 2023-07-20 23:41:42.146 JupyterNotebookApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json)
[W 2023-07-20 23:41:42.149 JupyterNotebookApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1689910902143 (7f80a9c368014c73b2be2492888a488c@::1) 3.94ms referer=http://localhost:8888/tree

Here the lib I am ussing:

ipykernel==6.24.0
notebook==7.0.0
notebook_shim==0.2.3
Python 3.11.4

Jupyter lab would work using
jupyter lab --app-dir /opt/homebrew/share/jupyter/lab

How do I change the path to run jupyter notebook?

Thank you

@taktikal17 taktikal17 added bug status:Needs Triage Applied to issues that need triage labels Jul 21, 2023
@jtpio
Copy link
Member

jtpio commented Jul 25, 2023

Thanks @taktikal17 for reporting the issue 👍

Jupyter lab would work using

Just to confirm: does JupyterLab work without specifying the --app-dir option?

@jtpio jtpio added this to the 7.0.x milestone Jul 25, 2023
@defjaf
Copy link

defjaf commented Jul 25, 2023

I am seeing something similar, also possibly with some weird interactions with jupyterlab. (I think on one of my machines it is failing at a different *.json schema than in this traceback, but I don't have access right now.)

Also possibly related:

  • the “Open in…” (used to be called “Interface”, I think?) menu does not appear
  • In the file list window which opens from jupyter notebook, the “File” menu ends with “Save and export notebook as…” – it is missing “Trust notebook”, “Close and Shut Down Notebook”, “Log out” and “Shut Down”.

@ssh352
Copy link

ssh352 commented Jul 26, 2023

same issue here, notebook version 6.5.4 had no issue.

❯ jupyter --version
Selected Jupyter core packages...
IPython : 8.14.0
ipykernel : 6.24.0
ipywidgets : 8.0.7
jupyter_client : 8.3.0
jupyter_core : 5.3.1
jupyter_server : 2.7.0
jupyterlab : 4.0.3
nbclient : 0.8.0
nbconvert : 7.7.2
nbformat : 5.9.1
notebook : 7.0.0
qtconsole : 5.4.3
traitlets : 5.9.0

@jtpio
Copy link
Member

jtpio commented Jul 27, 2023

cc @andrii-i @RRosio @ericsnekbytes @echarles @afshin

If one of you has a Mac and would be able to look into this that would be great, thanks 🙏

@defjaf
Copy link

defjaf commented Jul 27, 2023

A further possibly useful bit of info:

On my setup, Python 3.11 is installed by homebrew, but all packages, including jupyter, notebook, etc. are installed with pip.

@defjaf
Copy link

defjaf commented Jul 27, 2023

I note that

JUPYTER_PATH=/opt/homebrew/share/jupyter JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter jupyter notebook

is a partial fix: it still gives error messages in the terminal, but the interface issues mentioned above seem to be better.

So it is possible that this is an issue of "miscommunication" between the homebrew build and jupyter?

@defjaf
Copy link

defjaf commented Jul 29, 2023

Further to my previous partial fix using JUPYTER_PATH and JUPYTER_CONFIG_PATH

I note that in fact jupyter lab behaves better with those environment variables set as above: without them, it does not seem to correctly recognise extensions. (To be precise, app-dir does not solve these problems.) So I wonder if we need to make this a broader issue?

In detail: without the variables set, the "Installed" list is empty and, for example, there is no sidebar entry for ipyparallel even when installed:

Screenshot 2023-07-29 at 16 49 09

When run with those variables set, I get:

Screenshot 2023-07-29 at 16 50 45

@defjaf
Copy link

defjaf commented Jul 31, 2023

Things seem a little different with the just-released Notebook 7.0.1.

Now, jupyter notebook just gives a blank screen at http://localhost:8888/tree, with our without the environment variables JUPYTER_PATH=/opt/homebrew/share/jupyter JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter. However, there are no longer any "schema" error messages...

On the other hand jupyter lab shows more or less the same behaviour as before: shows extension-related errors without the environment variables set; seems to work fine with them set. Now, however, if you try to "Open in..." notebook with 7.0.1, you get the same blank-screen behaviour as jupyter notebook.

@jtpio
Copy link
Member

jtpio commented Jul 31, 2023

Now, jupyter notebook just gives a blank screen at http://localhost:8888/tree

Could this be similar to #6952, which would happen when updating notebook in an existing environment?

I tried creating a new environment, installing notebook==7.0.0, then pip install -U notebook to grab 7.0.1 but everything went fine and couldn't reproduce the issue.

Would you be able to try install notebook==7.0.1 in a clean environment just to make sure it loads properly?

@RRosio
Copy link
Collaborator

RRosio commented Jul 31, 2023

My experience replicating this issue was as follows:

I installed Python 3.11 with homebrew and then the Notebook package with pip. In this case, Notebook 6.5 worked well.

With Notebook 7.0.1
Same behavior with and without environment variables:

  • jupyter notebook
    • blank page with only the jupyter logo; console and terminal error messages about the schema
  • jupyter lab
    • page displays the following:
JupyterLab Error
JupyterLab application assets not found in "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab"
Please run `jupyter lab build` or use a different app directory

Indeed, Jupyterlab works well using jupyter lab --app-dir /opt/homebrew/share/jupyter/lab, but I could not get a working version of Notebook 7


I have only encountered this issue with when using the python/pip installed with homebrew. All my installs of Notebook 7 with conda environments work well. This is not my regular workflow, I usually use conda environments, so I am not sure yet what could be the problem.

@defjaf
Copy link

defjaf commented Jul 31, 2023

(@RRosio, I'm glad you see the same (or very similar) issue!...)

@jtpio, Sorry if I wasn't clear -- this isn't in a venv, but in the "base" python environment (i.e., my homebrew install, but not in a venv; not the system python).

In fact, it look likes the blank page issue is indeed a local authentication or cache issue, which happens irrespective of whether I'm in a venv or the base environment. Clearing the browser cache seems to solve the problem.

So apologies for that red herring.

But the other problems described in this thread remain:

  • In the base environment, without setting JUPYTER_PATH or JUPYTER_CONFIG_PATH:
    • jupyter notebook runs, but there are UI issues:
      • the "file" menu ends at "Save and export notebook as..."
      • the console output shows various errors related to "Schema" (see the top of this issue)
    • jupyter nbclassic gives a 500 error in the browser (see this issue)
    • jupyter lab runs but doesn't seem to recognise extensions, and "Open in..." doesn't appear
  • In the base environment, but with environment variables set as JUPYTER_PATH=/opt/homebrew/share/jupyter JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter:
    • jupyter notebook runs but shows the same "schema" output in the console. Since this is a new UI, I'm not sure if there are issues related to this (e.g., I don't seem to have any access to a nice ipyparallel panel, but I'm not sure what that UI should like in the new notebook)
    • jupyter lab and jupyter nbclassic run fine (although "Open in..." > "notebook" runs but then shows the same behaviour as just above -- console errors, etc)
  • In a venv, everything seems to work as expected without setting JUPYTER_PATH or JUPYTER_CONFIG_PATH, and without any console or UI issyes for jupyter notebook.

Sorry for the confusion related to 7.0.1 -- but this list now seems like a summary of all the actual issues I am experiencing.... (nb. I am not sure when/if I ran jupyter lab build, although I do remember seeing that message at some point; at some point I deleted all of the ~/Library/jupyter, ~/.jupyter files as a test.)

@defjaf
Copy link

defjaf commented Aug 1, 2023

(I wonder if this — basically, the above list — should become a new/separate issue to highlight that it’s not only about the “schema” problem?)

@jtpio
Copy link
Member

jtpio commented Aug 1, 2023

Thanks @defjaf for posting these details it will help reproduce the issue more easily 👍

If this is also an issue with JupyterLab, would you be able to open an issue on the JupyterLab repo? https://github.com/jupyterlab/jupyterlab

Thanks!

@defjaf
Copy link

defjaf commented Aug 1, 2023

See also jupyterlab/jupyterlab#14890

@abhinavgolas
Copy link

Adding a data point, I had the same issue occur on macOS today, installing via pip pip3 install jupyterlab notebook. Trying to run jupyter lab with the environment patch gave me the error message:

JupyterLab Error

JupyterLab application assets not found in "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab"

Please run `jupyter lab build` or use a different app directory

Following command-line error logs, I was able to run build with --dev-build=False --minimize=False, which then complained about missing node.js and npm, which I then installed with brew and pip respectively, after which the build succeeded and jupyter lab worked, but notebook did not.

@hurricane642
Copy link

hurricane642 commented Aug 2, 2023

My experience replicating this issue was as follows:

I installed Python 3.11 with homebrew and then the Notebook package with pip. In this case, Notebook 6.5 worked well.

With Notebook 7.0.1 Same behavior with and without environment variables:

  • jupyter notebook

    • blank page with only the jupyter logo; console and terminal error messages about the schema
  • jupyter lab

    • page displays the following:
JupyterLab Error
JupyterLab application assets not found in "/opt/homebrew/Cellar/[email protected]/3.11.4_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab"
Please run `jupyter lab build` or use a different app directory

Indeed, Jupyterlab works well using jupyter lab --app-dir /opt/homebrew/share/jupyter/lab, but I could not get a working version of Notebook 7

I have only encountered this issue with when using the python/pip installed with homebrew. All my installs of Notebook 7 with conda environments work well. This is not my regular workflow, I usually use conda environments, so I am not sure yet what could be the problem.

I am experiencing the same problems when running jupyter notebook and jupyter lab. I did the installation through pip.

@stgreenman
Copy link

stgreenman commented Aug 3, 2023

-- Workaround --
I had the same issue on Mac. Was able to get notebook GUI showing by running notebooks through Anaconda:

  1. Download & install Anaconda
  2. Apply environment PATH changes Anaconda made to your shell config file by either:
    a. Exiting terminal and reopening it
    -or-
    b. Running source ~/.bashrc or source ~/.zshrc depending on which shell you use
  3. Activate Anaconda by running conda activate. Terminal should show '(base)' prefix. Exit with conda deactivate
  4. Run jupyter notebook after conda activate. GUI should now appear.

*Note - I don't think you need to uninstall Homebrew's python or notebook libraries since Anaconda runs its own instance of python and notebook libraries in a separate directory from Homebrew's.

@defjaf
Copy link

defjaf commented Aug 3, 2023

@stgreenman (et al):

I don't use (Ana)conda, but this should work.

However, if you just want to stick with homebrew, you should just be able to add the following to your .bashrc (or equivalent for other shells):

export JUPYTER_PATH=/opt/homebrew/share/jupyter 
export JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter

Alternately, you can also just create (and activate) a venv with homebrew python, and that should work as well (with no extra configuration).

(For clarity: setting the environment variables seems to fix the UI issues in notebook, but the schema console messages still appear on my configuration. Using a venv seems to fix the UI issues and the schema messages.)

@defjaf
Copy link

defjaf commented Aug 5, 2023

So, now that this (and the related jupyterlab and nbclassic issues) have been sitting here for a while, do we have a picture of whether this is deemed a proper, fixable (and fix-worthy) bug? If so, do we understand whether it's likely on the jupyter-* side, or is it possibly actually a homebrew issue? (I haven't reported it over there, and I don't think anyone else has either — although see this list of supposedly closed issues — but perhaps I or someone should?)

(I completely understand that we are discussing voluntary open-source contributions here, so timelines can be long, and that a perfectly acceptable response is: if this bothers you, fix it yourself! Although some pointers for where to look in the code-base would be great...)

@mberman84
Copy link

I'm having the same issue, can't seem to fix it with the workaround.

@pgreenwood
Copy link

I'm seeing the same problem after installing. Python is installed with homebrew and jupyter with pip. On MacOS 12.3.1.

I'm seeing:

Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)

and

/opt/homebrew/Cellar/[email protected]/3.11.3/Frameworks/Python.framework/Versions/3.11/share/jupyter/

does not seem to exist.

@njo
Copy link

njo commented Oct 19, 2023

TL;DR: Quick fix by making a symlink from where Jupyter is looking to where the files actually are:

ln -s /opt/homebrew/share/jupyter/ /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter

(Keep in mind your python version might differ so check the Jupyter error output for your version)

@atemerev What symptoms are you seeing? Is it the issues I've mentioned (incomplete menus, extensions not appearing)? Or is it just presenting a blank web page page? If the latter, you could try emptying your cache.

(And if that works, are you then seeing those other issues?)

I have a fresh apple silicon machine with the latest OS updates. First brew installed python3. Then pip3 install jupyterlab notebook voila.

jupyter notebook with or without the PATH env vars just gives this blank screen:

Screenshot 2023-10-18 at 20 32 41

As was said earlier the meat of this problem is for whatever reason jupyter notebook is looking for the files
here: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/
whereas the files in this installation are located: /opt/homebrew/share/jupyter/

So I symlinked:
ln -s /opt/homebrew/share/jupyter/ /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter

and now things are happy (until I upgrade python at least).

Full "stacktrace" below:

nathan ~ % JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter JUPYTER_PATH=/opt/homebrew/share/jupyter jupyter notebook
[I 2023-10-18 20:31:38.440 ServerApp] Package notebook took 0.0000s to import
[I 2023-10-18 20:31:38.448 ServerApp] Package jupyter_lsp took 0.0081s to import
[W 2023-10-18 20:31:38.448 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-10-18 20:31:38.452 ServerApp] Package jupyter_server_terminals took 0.0037s to import
[I 2023-10-18 20:31:38.452 ServerApp] Package jupyterlab took 0.0000s to import
[I 2023-10-18 20:31:38.461 ServerApp] Package notebook_shim took 0.0000s to import
[W 2023-10-18 20:31:38.461 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-10-18 20:31:38.544 ServerApp] Package voila.server_extension took 0.0826s to import
[I 2023-10-18 20:31:38.544 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2023-10-18 20:31:38.545 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2023-10-18 20:31:38.547 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-10-18 20:31:38.548 ServerApp] notebook | extension was successfully linked.
/opt/homebrew/lib/python3.11/site-packages/traitlets/traitlets.py:1907: DeprecationWarning: ServerApp.token config is deprecated in jupyter-server 2.0. Use IdentityProvider.token
  return self._get_trait_default_generator(names[0])(self)
[I 2023-10-18 20:31:38.687 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-10-18 20:31:38.687 ServerApp] voila.server_extension | extension was successfully linked.
[I 2023-10-18 20:31:38.706 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-10-18 20:31:38.707 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2023-10-18 20:31:38.707 ServerApp] jupyter_server_terminals | extension was successfully loaded.
/opt/homebrew/lib/python3.11/site-packages/traitlets/traitlets.py:1907: DeprecationWarning: ServerApp.token config is deprecated in jupyter-server 2.0. Use IdentityProvider.token
  return self._get_trait_default_generator(names[0])(self)
[I 2023-10-18 20:31:38.708 LabApp] JupyterLab extension loaded from /opt/homebrew/lib/python3.11/site-packages/jupyterlab
[I 2023-10-18 20:31:38.708 LabApp] JupyterLab application directory is /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab
[E 2023-10-18 20:31:38.708 LabApp] JupyterLab application assets not found in "/opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab"
[E 2023-10-18 20:31:38.708 LabApp] Please run `jupyter lab build` or use a different app directory
[I 2023-10-18 20:31:38.709 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-10-18 20:31:38.710 ServerApp] notebook | extension was successfully loaded.
[I 2023-10-18 20:31:38.711 ServerApp] voila.server_extension | extension was successfully loaded.
[I 2023-10-18 20:31:38.712 ServerApp] Serving notebooks from local directory: /Users/nathan
[I 2023-10-18 20:31:38.712 ServerApp] Jupyter Server 2.8.0 is running at:
[I 2023-10-18 20:31:38.712 ServerApp] http://localhost:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
[I 2023-10-18 20:31:38.712 ServerApp]     http://127.0.0.1:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
[I 2023-10-18 20:31:38.712 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-10-18 20:31:38.713 ServerApp]

    To access the server, open this file in a browser:
        file:///Users/nathan/Library/Jupyter/runtime/jpserver-89459-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
        http://127.0.0.1:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
[I 2023-10-18 20:31:38.721 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[W 2023-10-18 20:31:40.235 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.236 LabApp] Settings directory does not exist at /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas
[W 2023-10-18 20:31:40.256 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.256 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1697675500254 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json
[W 2023-10-18 20:31:40.256 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json)
[W 2023-10-18 20:31:40.258 LabApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1697675500254 (726c90668ee84642b139b8779749e360@::1) 2.95ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.259 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.259 ServerApp] 404 GET /lab/api/settings/@jupyterlab/translation-extension:plugin?1697675500254 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json
[W 2023-10-18 20:31:40.259 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.259 LabApp] 404 GET /lab/api/settings/@jupyterlab/translation-extension:plugin?1697675500254 (726c90668ee84642b139b8779749e360@::1) 1.41ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.260 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.260 ServerApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:sanitizer?1697675500254 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json
[W 2023-10-18 20:31:40.260 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json)
[W 2023-10-18 20:31:40.260 LabApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:sanitizer?1697675500254 (726c90668ee84642b139b8779749e360@::1) 1.50ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.271 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.271 ServerApp] 404 GET /lab/api/settings/@jupyterlab/application-extension:top-bar?1697675500269 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json
[W 2023-10-18 20:31:40.271 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json)
[W 2023-10-18 20:31:40.271 LabApp] 404 GET /lab/api/settings/@jupyterlab/application-extension:top-bar?1697675500269 (726c90668ee84642b139b8779749e360@::1) 1.26ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.273 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.273 ServerApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:notification?1697675500269 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json
[W 2023-10-18 20:31:40.273 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json)
[W 2023-10-18 20:31:40.273 LabApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:notification?1697675500269 (726c90668ee84642b139b8779749e360@::1) 1.89ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.273 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.274 ServerApp] 404 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json
[W 2023-10-18 20:31:40.274 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json)
[W 2023-10-18 20:31:40.274 LabApp] 404 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.88ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.274 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.274 ServerApp] 404 GET /lab/api/settings/@jupyterlab/extensionmanager-extension:plugin?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json
[W 2023-10-18 20:31:40.274 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json)
[W 2023-10-18 20:31:40.274 LabApp] 404 GET /lab/api/settings/@jupyterlab/extensionmanager-extension:plugin?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.97ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.275 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.275 ServerApp] 404 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json
[W 2023-10-18 20:31:40.275 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json)
[W 2023-10-18 20:31:40.276 LabApp] 404 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.28ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.276 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.276 ServerApp] 404 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json
[W 2023-10-18 20:31:40.276 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json)
[W 2023-10-18 20:31:40.276 LabApp] 404 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.27ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.278 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.278 ServerApp] 404 GET /lab/api/settings/@jupyterlab/console-extension:tracker?1697675500271 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json
[W 2023-10-18 20:31:40.278 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json)
[W 2023-10-18 20:31:40.278 LabApp] 404 GET /lab/api/settings/@jupyterlab/console-extension:tracker?1697675500271 (726c90668ee84642b139b8779749e360@::1) 2.01ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.278 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.279 ServerApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:tracker?1697675500271 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json
[W 2023-10-18 20:31:40.279 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json)
[W 2023-10-18 20:31:40.279 LabApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:tracker?1697675500271 (726c90668ee84642b139b8779749e360@::1) 2.02ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.279 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.279 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/notebook-extension:scroll-output?1697675500271 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json
[W 2023-10-18 20:31:40.279 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json)
[W 2023-10-18 20:31:40.279 LabApp] 404 GET /lab/api/settings/@jupyter-notebook/notebook-extension:scroll-output?1697675500271 (726c90668ee84642b139b8779749e360@::1) 2.12ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.280 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.280 ServerApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json
[W 2023-10-18 20:31:40.280 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json)
[W 2023-10-18 20:31:40.280 LabApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1697675500270 (726c90668ee84642b139b8779749e360@::1) 2.72ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.280 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)

@kp-va
Copy link

kp-va commented Oct 20, 2023

@stgreenman (et al):

I don't use (Ana)conda, but this should work.

However, if you just want to stick with homebrew, you should just be able to add the following to your .bashrc (or equivalent for other shells):

export JUPYTER_PATH=/opt/homebrew/share/jupyter 
export JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter

Alternately, you can also just create (and activate) a venv with homebrew python, and that should work as well (with no extra configuration).

(For clarity: setting the environment variables seems to fix the UI issues in notebook, but the schema console messages still appear on my configuration. Using a venv seems to fix the UI issues and the schema messages.)

setting env variables did not work, however creating a venv and re-pip installing jupyter notebook inside the venv worked.

@defjaf
Copy link

defjaf commented Oct 27, 2023

FWIW, and as expected, all of these errors and misbehaviours vanish for the python.org framework build (of 3.12, but I assume more generally), without requiring any special environment variables or other changes. This still lets me install packages by pip and not be wedded to using a venv, so I think I am moving back to this infrastructure from homebrew, at least for now.

@robocop-bob
Copy link

I had similar issue . Check possible conflicts with brew doctor and run brew link --overwrite jupyterlab if necessary

@sunilshah
Copy link

FWIW, and as expected, all of these errors and misbehaviours vanish for the python.org framework build (of 3.12, but I assume more generally), without requiring any special environment variables or other changes. This still lets me install packages by pip and not be wedded to using a venv, so I think I am moving back to this infrastructure from homebrew, at least for now.

Hi @defjaf,

After installing python.org framework build can one still run other non-pythonic homebrew codes / packages?

@defjaf
Copy link

defjaf commented Oct 29, 2023

After installing python.org framework build can one still run other non-pythonic homebrew codes / packages?

Yep, they can more or less peacefully coexist. (Sometimes a homebrew package will try to install python but it usually doesn't clash, although this can depend on path details.)

@arun-vasudevan-nair
Copy link

arun-vasudevan-nair commented Nov 21, 2023

So far the easiest fix is from @njo creating a symlink to the missing folder shown in the error message.

If you look at one of the errors, for example:

[W 2023-11-21 11:19:38.902 JupyterNotebookApp] Missing or misshapen translation settings schema: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)

It is complaining that the specified file is not found in target location. When I checked, that's right, there is no jupyter folder inside ...share/ folder. So I created a symlink named jupyter from /opt/homebrew/share/jupyter using the command,

ln -s /opt/homebrew/share/jupyter /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter

Try running the jupyter notebook command again.

This also ensures that you are using homebrew's installed version.

@RSkorina
Copy link

RSkorina commented Dec 5, 2023

Two cents here:

I was having this same problem with both Jupyter notebook and jupyter lab and I solved it with a jupyter lab install

@GDSimpson3
Copy link

GDSimpson3 commented Dec 29, 2023

I had my Python installed VIA Homebrew (macOS) and i've installed jupyter lab VIA pip3 (pip3 install jupyterlab) but it shows that jupyter lab still comes from homebrew regardless
image

When i ran jupyter lab (by typing "jupyter lab" in terminal) i got these error logs
image

[I 2023-12-28 20:23:09.719 LabApp] JupyterLab application directory is /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab
[E 2023-12-28 20:23:09.719 LabApp] JupyterLab application assets not found in "/opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab"
[E 2023-12-28 20:23:09.719 LabApp] Please run `jupyter lab build` or use a different app directory
[I 2023-12-28 20:23:09.720 ServerApp] jupyterlab | extension was successfully loaded.

what worked for me was this "build" command that was printed in the error logs (PS: you need Node 18<=, i used NVM)

image
jupyter lab build

I saw these logs while the build command ran,

[LabBuildApp] JupyterLab 4.0.9
[LabBuildApp] Building in /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab
[LabBuildApp] Building jupyterlab assets (production, minimized)
image

i also added these configs to my .zshrc file although i am not sure if it was significant

export JUPYTER_PATH=/opt/homebrew/share/jupyter
export JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter

Hope this helps 💯 🍷 🗿

@Mamoon794
Copy link

Mamoon794 commented Jan 4, 2024

Make sure that you don't have the notebook package installed in both the global python and the python environment you're working in. In my case I did, so I ran pip freeze | xargs pip uninstall -y in both my global python and inside the python environment. This deletes any packages that were installed using pip so you might need to reinstall packages that you already had. Then I ran pip3 install notebook inside my environment. Then running jupyter notebook worked without any errors.

@avioligo
Copy link

avioligo commented Jan 8, 2024

2 working solutions:

The first is to export the following:

export JUPYTER_PATH=/opt/homebrew/share/jupyter
export JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter

The second is to simply install an earlier version:
python3 -m pip install "notebook<7"

@yyLuo0423
Copy link

thanks to @avioligo
I finally resolved this problem by :

Step1: pip3 install jupyter

then run $ jupyter --version, which shows: notebook : 7.0.6

Step2: python3 -m pip install "notebook<7"

notebook will be replaced to version 6.5.6, and version 7.0.6 is auto deleted.

Step3: jupyter notebook

everything is ok!

@kielsucks
Copy link

I had the same issue and I solved it by updating brew and reinstalling jupyter notebook using brew. What I exactly did is that :

brew update && brew doctor && brew install jupyter

FWIW this ended up fixing the blank localhost:8888/tree issue for me. I had a ton of unlinked kegs in brew (including jupyterlab and ipython). I'm not excited to have things installed via pip and brew, but I'll take it for now. I might end up circling back and trying the pyenv solution eventually. Thanks!

@arsentiii
Copy link

So far the easiest fix is from @njo creating a symlink to the missing folder shown in the error message.

If you look at one of the errors, for example:

[W 2023-11-21 11:19:38.902 JupyterNotebookApp] Missing or misshapen translation settings schema: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)

It is complaining that the specified file is not found in target location. When I checked, that's right, there is no jupyter folder inside ...share/ folder. So I created a symlink named jupyter from /opt/homebrew/share/jupyter using the command,

ln -s /opt/homebrew/share/jupyter /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter

Try running the jupyter notebook command again.

This also ensures that you are using homebrew's installed version.

its worked for me.

@YutingGao7
Copy link

2 working solutions:

The first is to export the following:

export JUPYTER_PATH=/opt/homebrew/share/jupyter
export JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter

The second is to simply install an earlier version: python3 -m pip install "notebook<7"

That's awesome, just wanted to add a quick solution for Jupyer Lab as well, just run:
jupyter lab build
which solved my lab issue.

@mhv2408
Copy link

mhv2408 commented Feb 14, 2024

So far the easiest fix is from @njo creating a symlink to the missing folder shown in the error message.

If you look at one of the errors, for example:

[W 2023-11-21 11:19:38.902 JupyterNotebookApp] Missing or misshapen translation settings schema: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)

It is complaining that the specified file is not found in target location. When I checked, that's right, there is no jupyter folder inside ...share/ folder. So I created a symlink named jupyter from /opt/homebrew/share/jupyter using the command,

ln -s /opt/homebrew/share/jupyter /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter

Try running the jupyter notebook command again.

This also ensures that you are using homebrew's installed version.

Works like charm...thanks @njo

@diogobcondeco
Copy link

diogobcondeco commented Mar 11, 2024

I had similar issue . Check possible conflicts with brew doctor and run brew link --overwrite jupyterlab if necessary

This ended up working for me :) thank you
Although the error still appears, at least I can keep using Jupyter Notebooks

@willhama
Copy link

It seems Jupyter Notebook is not installed anymore with Jupyterlab by default.

Run
jupyter --version
and check if the notebook has a version at all.

If it says 'not installed', install it manually:
pip install notebook

Hope that helps.

@qmy777
Copy link

qmy777 commented Apr 24, 2024

So far the easiest fix is from @njo creating a symlink to the missing folder shown in the error message.

If you look at one of the errors, for example:

[W 2023-11-21 11:19:38.902 JupyterNotebookApp] Missing or misshapen translation settings schema: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)

It is complaining that the specified file is not found in target location. When I checked, that's right, there is no jupyter folder inside ...share/ folder. So I created a symlink named jupyter from /opt/homebrew/share/jupyter using the command,

ln -s /opt/homebrew/share/jupyter /opt/homebrew/Cellar/[email protected]/3.11.6_1/Frameworks/Python.framework/Versions/3.11/share/jupyter

Try running the jupyter notebook command again.

This also ensures that you are using homebrew's installed version.

it works for me!!! THX!

@stepps00
Copy link

stepps00 commented Aug 6, 2024

Simply running the suggested command by @njo fixed this issue for me, thank you!

The command was:

ln -s /opt/homebrew/share/jupyter/ /opt/homebrew/Cellar/[email protected]/3.12.2_1/Frameworks/Python.framework/Versions/3.12/share/jupyter

With the second path being the one given in the HTTP 404: Not Found error.

@Znxja
Copy link

Znxja commented Sep 5, 2024

TL;DR: Quick fix by making a symlink from where Jupyter is looking to where the files actually are:

ln -s /opt/homebrew/share/jupyter/ /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter

(Keep in mind your python version might differ so check the Jupyter error output for your version)

@atemerev What symptoms are you seeing? Is it the issues I've mentioned (incomplete menus, extensions not appearing)? Or is it just presenting a blank web page page? If the latter, you could try emptying your cache.
(And if that works, are you then seeing those other issues?)

I have a fresh apple silicon machine with the latest OS updates. First brew installed python3. Then pip3 install jupyterlab notebook voila.

jupyter notebook with or without the PATH env vars just gives this blank screen:

Screenshot 2023-10-18 at 20 32 41

As was said earlier the meat of this problem is for whatever reason jupyter notebook is looking for the files here: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/ whereas the files in this installation are located: /opt/homebrew/share/jupyter/

So I symlinked: ln -s /opt/homebrew/share/jupyter/ /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter

and now things are happy (until I upgrade python at least).

Full "stacktrace" below:

nathan ~ % JUPYTER_CONFIG_PATH=/opt/homebrew/etc/jupyter JUPYTER_PATH=/opt/homebrew/share/jupyter jupyter notebook
[I 2023-10-18 20:31:38.440 ServerApp] Package notebook took 0.0000s to import
[I 2023-10-18 20:31:38.448 ServerApp] Package jupyter_lsp took 0.0081s to import
[W 2023-10-18 20:31:38.448 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-10-18 20:31:38.452 ServerApp] Package jupyter_server_terminals took 0.0037s to import
[I 2023-10-18 20:31:38.452 ServerApp] Package jupyterlab took 0.0000s to import
[I 2023-10-18 20:31:38.461 ServerApp] Package notebook_shim took 0.0000s to import
[W 2023-10-18 20:31:38.461 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server.
[I 2023-10-18 20:31:38.544 ServerApp] Package voila.server_extension took 0.0826s to import
[I 2023-10-18 20:31:38.544 ServerApp] jupyter_lsp | extension was successfully linked.
[I 2023-10-18 20:31:38.545 ServerApp] jupyter_server_terminals | extension was successfully linked.
[I 2023-10-18 20:31:38.547 ServerApp] jupyterlab | extension was successfully linked.
[I 2023-10-18 20:31:38.548 ServerApp] notebook | extension was successfully linked.
/opt/homebrew/lib/python3.11/site-packages/traitlets/traitlets.py:1907: DeprecationWarning: ServerApp.token config is deprecated in jupyter-server 2.0. Use IdentityProvider.token
  return self._get_trait_default_generator(names[0])(self)
[I 2023-10-18 20:31:38.687 ServerApp] notebook_shim | extension was successfully linked.
[I 2023-10-18 20:31:38.687 ServerApp] voila.server_extension | extension was successfully linked.
[I 2023-10-18 20:31:38.706 ServerApp] notebook_shim | extension was successfully loaded.
[I 2023-10-18 20:31:38.707 ServerApp] jupyter_lsp | extension was successfully loaded.
[I 2023-10-18 20:31:38.707 ServerApp] jupyter_server_terminals | extension was successfully loaded.
/opt/homebrew/lib/python3.11/site-packages/traitlets/traitlets.py:1907: DeprecationWarning: ServerApp.token config is deprecated in jupyter-server 2.0. Use IdentityProvider.token
  return self._get_trait_default_generator(names[0])(self)
[I 2023-10-18 20:31:38.708 LabApp] JupyterLab extension loaded from /opt/homebrew/lib/python3.11/site-packages/jupyterlab
[I 2023-10-18 20:31:38.708 LabApp] JupyterLab application directory is /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab
[E 2023-10-18 20:31:38.708 LabApp] JupyterLab application assets not found in "/opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab"
[E 2023-10-18 20:31:38.708 LabApp] Please run `jupyter lab build` or use a different app directory
[I 2023-10-18 20:31:38.709 ServerApp] jupyterlab | extension was successfully loaded.
[I 2023-10-18 20:31:38.710 ServerApp] notebook | extension was successfully loaded.
[I 2023-10-18 20:31:38.711 ServerApp] voila.server_extension | extension was successfully loaded.
[I 2023-10-18 20:31:38.712 ServerApp] Serving notebooks from local directory: /Users/nathan
[I 2023-10-18 20:31:38.712 ServerApp] Jupyter Server 2.8.0 is running at:
[I 2023-10-18 20:31:38.712 ServerApp] http://localhost:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
[I 2023-10-18 20:31:38.712 ServerApp]     http://127.0.0.1:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
[I 2023-10-18 20:31:38.712 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2023-10-18 20:31:38.713 ServerApp]

    To access the server, open this file in a browser:
        file:///Users/nathan/Library/Jupyter/runtime/jpserver-89459-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
        http://127.0.0.1:8888/tree?token=d7b5de934e4b3e5df148306712057b0b865df28140804043
[I 2023-10-18 20:31:38.721 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[W 2023-10-18 20:31:40.235 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.236 LabApp] Settings directory does not exist at /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas
[W 2023-10-18 20:31:40.256 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.256 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1697675500254 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json
[W 2023-10-18 20:31:40.256 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/application-extension/shell.json)
[W 2023-10-18 20:31:40.258 LabApp] 404 GET /lab/api/settings/@jupyter-notebook/application-extension:shell?1697675500254 (726c90668ee84642b139b8779749e360@::1) 2.95ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.259 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.259 ServerApp] 404 GET /lab/api/settings/@jupyterlab/translation-extension:plugin?1697675500254 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json
[W 2023-10-18 20:31:40.259 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.259 LabApp] 404 GET /lab/api/settings/@jupyterlab/translation-extension:plugin?1697675500254 (726c90668ee84642b139b8779749e360@::1) 1.41ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.260 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.260 ServerApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:sanitizer?1697675500254 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json
[W 2023-10-18 20:31:40.260 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/sanitizer.json)
[W 2023-10-18 20:31:40.260 LabApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:sanitizer?1697675500254 (726c90668ee84642b139b8779749e360@::1) 1.50ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.271 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.271 ServerApp] 404 GET /lab/api/settings/@jupyterlab/application-extension:top-bar?1697675500269 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json
[W 2023-10-18 20:31:40.271 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/application-extension/top-bar.json)
[W 2023-10-18 20:31:40.271 LabApp] 404 GET /lab/api/settings/@jupyterlab/application-extension:top-bar?1697675500269 (726c90668ee84642b139b8779749e360@::1) 1.26ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.273 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.273 ServerApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:notification?1697675500269 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json
[W 2023-10-18 20:31:40.273 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/apputils-extension/notification.json)
[W 2023-10-18 20:31:40.273 LabApp] 404 GET /lab/api/settings/@jupyterlab/apputils-extension:notification?1697675500269 (726c90668ee84642b139b8779749e360@::1) 1.89ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.273 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.274 ServerApp] 404 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json
[W 2023-10-18 20:31:40.274 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/shortcuts-extension/shortcuts.json)
[W 2023-10-18 20:31:40.274 LabApp] 404 GET /lab/api/settings/@jupyterlab/shortcuts-extension:shortcuts?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.88ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.274 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.274 ServerApp] 404 GET /lab/api/settings/@jupyterlab/extensionmanager-extension:plugin?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json
[W 2023-10-18 20:31:40.274 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/extensionmanager-extension/plugin.json)
[W 2023-10-18 20:31:40.274 LabApp] 404 GET /lab/api/settings/@jupyterlab/extensionmanager-extension:plugin?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.97ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.275 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.275 ServerApp] 404 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json
[W 2023-10-18 20:31:40.275 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/codemirror-extension/plugin.json)
[W 2023-10-18 20:31:40.276 LabApp] 404 GET /lab/api/settings/@jupyterlab/codemirror-extension:plugin?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.28ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.276 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.276 ServerApp] 404 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json
[W 2023-10-18 20:31:40.276 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/docmanager-extension/plugin.json)
[W 2023-10-18 20:31:40.276 LabApp] 404 GET /lab/api/settings/@jupyterlab/docmanager-extension:plugin?1697675500270 (726c90668ee84642b139b8779749e360@::1) 1.27ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.278 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.278 ServerApp] 404 GET /lab/api/settings/@jupyterlab/console-extension:tracker?1697675500271 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json
[W 2023-10-18 20:31:40.278 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/console-extension/tracker.json)
[W 2023-10-18 20:31:40.278 LabApp] 404 GET /lab/api/settings/@jupyterlab/console-extension:tracker?1697675500271 (726c90668ee84642b139b8779749e360@::1) 2.01ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.278 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.279 ServerApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:tracker?1697675500271 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json
[W 2023-10-18 20:31:40.279 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/tracker.json)
[W 2023-10-18 20:31:40.279 LabApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:tracker?1697675500271 (726c90668ee84642b139b8779749e360@::1) 2.02ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.279 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.279 ServerApp] 404 GET /lab/api/settings/@jupyter-notebook/notebook-extension:scroll-output?1697675500271 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json
[W 2023-10-18 20:31:40.279 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyter-notebook/notebook-extension/scroll-output.json)
[W 2023-10-18 20:31:40.279 LabApp] 404 GET /lab/api/settings/@jupyter-notebook/notebook-extension:scroll-output?1697675500271 (726c90668ee84642b139b8779749e360@::1) 2.12ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.280 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)
[W 2023-10-18 20:31:40.280 ServerApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1697675500270 (::1): Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json
[W 2023-10-18 20:31:40.280 LabApp] wrote error: 'Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json'
    Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 1784, in _execute
        result = method(*self.path_args, **self.path_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/tornado/web.py", line 3290, in wrapper
        return method(self, *args, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_handler.py", line 48, in get
        result, warnings = get_settings(
                           ^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 370, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/opt/homebrew/lib/python3.11/site-packages/jupyterlab_server/settings_utils.py", line 47, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json)
[W 2023-10-18 20:31:40.280 LabApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1697675500270 (726c90668ee84642b139b8779749e360@::1) 2.72ms referer=http://localhost:8888/tree
[W 2023-10-18 20:31:40.280 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)

this works for me perfectly, i have brew python and pip jupyter and thats the point
the jupyter file downloaded from pip locates at different directory not the one expected by path , which is /opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/share

@HarsimarSingh23
Copy link

HarsimarSingh23 commented Sep 12, 2024

I encountered this issue due to this -

  1. I installed miniconda using brew
  2. Created a conda env and then pip installed notebook
  3. When I tried to run this - jupyter notebook was unrecognised command for zsh ( definitely some path link issue here! )
  4. running it through this command - python -m jupyter notebook (something fishy here)

I am pretty much noob about understanding the whole issue but if you want to quickly run it, try -
python -m venv venv # create a new venv
source venv/bin/activate
pip install -U notebook
jupyter notebook
Should be able to quickly run this.

@p0las
Copy link

p0las commented Oct 10, 2024

we are on windows and have the same issue. as I understand the problem jupyter is searching for the configs in python installation folder but in our case we have jupyter outside of it.
jupyter --paths
lists the correct path to configs as the first entry, however the errors in the log point to a different directory. It seems that jupyter ignores the paths and JUPYTER_CONFIG_PATH and always searches in the python installation.
we had to downgrade to <7 to get it running.

the easiest way to test it is by installing jupyter to a custom path:
python -m "pip" install "notebook" --prefix=my_custom_location
even if this is added to the environment, jupyter ignores this location and tries to load configs from python folder directly. seems like a bug.
this works fine:
python -m "pip" install "notebook<7" --prefix=my_custom_location

@jtpio jtpio modified the milestones: 7.0.x, 7.4.0 Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests