Problem with jupyter notebook and homebrew

I am having a trouble with running jupyter notebook. When I type “jupyter notebook” in the command line, an empty jupyter page opens in my browser and I get the following error. I tried the answer here but it did not help

Can someone point out what to do? Thanks!


 Traceback (most recent call last):
      File "/opt/homebrew/lib/python3.10/site-packages/tornado/web.py", line 1788, in _execute
        result = method(*self.path_args, **self.path_kwargs)
      File "/opt/homebrew/lib/python3.10/site-packages/tornado/web.py", line 3301, in wrapper
        return method(self, *args, **kwargs)
      File "/opt/homebrew/lib/python3.10/site-packages/jupyterlab_server/settings_handler.py", line 57, in get
        result, warnings = get_settings(
      File "/opt/homebrew/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 379, in get_settings
        schema, version = _get_schema(schemas_dir, schema_name, overrides, labextensions_path)
      File "/opt/homebrew/lib/python3.10/site-packages/jupyterlab_server/settings_utils.py", line 55, in _get_schema
        raise web.HTTPError(404, notfound_error % path)
    tornado.web.HTTPError: HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/share/jupyter/lab/schemas/@jupyterlab/notebook-extension/panel.json)
[W 2024-05-22 12:55:33.772 LabApp] 404 GET /lab/api/settings/@jupyterlab/notebook-extension:panel?1716371733739 (607e8198a80047c4bec797dc176670c5@::1) 2.48ms referer=http://localhost:8888/tree
[W 2024-05-22 12:55:33.773 LabApp] Missing or misshapen translation settings schema:
    HTTP 404: Not Found (Schema not found: /opt/homebrew/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/share/jupyter/lab/schemas/@jupyterlab/translation-extension/plugin.json)