spacetelescope / jdaviz

JWST astronomical data analysis tools in the Jupyter platform
https://jdaviz.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
142 stars 74 forks source link

[BUG] Tornado 'authorizer' error after fresh installation (SOLVED) #1170

Closed jrhastro closed 2 years ago

jrhastro commented 2 years ago

UPDATE: For solution, see https://github.com/spacetelescope/jdaviz/issues/1170#issuecomment-1069553079

Describe the bug After doing a clean install of jdaviz in a new conda environment, the web application will not load and throws a Tornado 'authorizer' warning.

To Reproduce Steps to reproduce the behavior:

  1. Install jdaviz using the following commands:
conda create -n jdaviz python=3.8
conda activate jdaviz
pip install jdaviz --no-cache-dir
  1. Downloaded example SDSS MaNGA IFU data file
  2. Executing the command:

$jdaviz ./manga-8485-1901-LOGCUBE.fits.gz --layout=cubeviz

  1. I get the following error message:
[Voila] Using /var/folders/wq/b0ymy3v15253byc7kntj80xc0001n8/T to store connection files
[Voila] Storing connection files in /var/folders/wq/b0ymy3v15253byc7kntj80xc0001n8/T/voila_389n5woe.
[Voila] Serving static files from /Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/voila/static.
[Voila] Voilà is running at:
http://localhost:8866/
[Voila] WARNING | Notebook notebook.ipynb is not trusted
[Voila] Kernel started: 3f838089-5109-45ac-b275-cb63111ef5c3
/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/auth/decorator.py:18: UserWarning: The Tornado web application does not have an 'authorizer' defined in its settings. In future releases of jupyter_server, this will be a required key for all subclasses of `JupyterHandler`. For an example, see the jupyter_server source code for how to add an authorizer to the tornado settings: https://github.com/jupyter-server/jupyter_server/blob/653740cbad7ce0c8a8752ce83e4d3c2c754b13cb/jupyter_server/serverapp.py#L234-L256
  warnings.warn(
  1. The web application starts but displays a window saying 'Executing Cell 1 of 1'

Expected behavior I expected to see some kind of application interface, but instead it seems like the application hangs and is unable to display the data cube.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Package versions (please complete the following information):

macOS-10.16-x86_64-i386-64bit
Python 3.8.12 (default, Oct 12 2021, 06:23:56) 
[Clang 10.0.0 ]
Numpy 1.22.3
astropy 5.0.2
specutils 1.7.0
pyyaml 6.0
click 8.0.4
asteval 0.9.26
idna 3.3
traitlets 5.1.1
bqplot 0.12.33
bqplot-image-gl 1.4.6
glue-core 1.2.4
glue-jupyter 0.10.1
glue-astronomy 0.3.2
echo 0.6
ipyvue 1.7.0
ipyvuetify 1.8.2
ipysplitpanes 0.2.0
ipygoldenlayout 0.4.0
voila 0.3.3
vispy 0.9.6
Jdaviz 2.3.0

Additional context (e.g. data files) Add any other context about the problem here.

pllim commented 2 years ago

Just to be sure, can you reproduce this from dev version of Jdaviz?

Is this in the context of MAST or something else?

jrhastro commented 2 years ago

I have not tried the dev version. I am following the instructions on the readthedocs site (but have created a new environment specifically for jdaviz).

This is in the context of Roman work. A couple of us in Roman INS were trying to install jdaviz and try some functionality in preparation for a potential Hack Day.

pllim commented 2 years ago

I can reproduce you problem and I managed to get it to go away by doing conda install voila instead of pip install everything. So please try this and let me know if it fixes things for you.

pip uninstall voila
conda install voila

Just say "yes" to everything.

pllim commented 2 years ago

conda sometimes works better when there are non-Python stuff involved in the stack.

jrhastro commented 2 years ago

The uninstall ran smoothly but the conda install failed. Here is the output of the 2 commands above:

$ pip uninstall voila
Found existing installation: voila 0.3.3
Uninstalling voila-0.3.3:
  Would remove:
    /Users/jhargis/anaconda3/envs/jdaviz/bin/voila
    /Users/jhargis/anaconda3/envs/jdaviz/etc/jupyter/jupyter_notebook_config.d/voila.json
    /Users/jhargis/anaconda3/envs/jdaviz/etc/jupyter/jupyter_server_config.d/voila.json
    /Users/jhargis/anaconda3/envs/jdaviz/etc/jupyter/nbconfig/notebook.d/voila.json
    /Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/voila-0.3.3.dist-info/*
    /Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/voila/*
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/install.json
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/package.json
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/schemas/@voila-dashboards/jupyterlab-preview/package.json.orig
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/schemas/@voila-dashboards/jupyterlab-preview/plugin.json
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/static/643.999197bbd8ad4b2ee222.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/static/97.25065296abef311c4455.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/static/remoteEntry.0d414ba26cb02af927ee.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/static/style.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/labextensions/@voila-dashboards/jupyterlab-preview/static/third-party-licenses.json
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/nbextensions/voila/extension.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/404.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/browser-open.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/error.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/jupyter_widgets.html.j2
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/log.macro.html.j2
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/page.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/spinner.macro.html.j2
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/07173fb77d2ee655811499d40c8388e7.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/07281897a98a61c3733e1670f82a9fd5.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/1.voila.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/2.voila.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/3d580bd561716bfb1f0b4fdd7063a802.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/4c74e33b0feb1fdbda49403a5e7ed604.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/5589d1a8fc62be6613020ef2fa13e410.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/72815766b08ca24d4d29ad1f5d4ecb45.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/77dbcee3c3d9a82a0c04a4ae7992b895.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/7e83626ba8bf2d20dc41565f1e6d0afc.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/9995de4787f908d8237dba7007f6c3fe.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/b80e08d5a79acbd1fafb1ca6f3515664.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/bc3af04f9a671fcabd6498042c57478f.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/bc42125861bd5bfc8686deeb612dcbb3.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/c9423d5dc9d82a38ca215f74e9cdd9f2.woff
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/main.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/require.min.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/static/voila.js
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/tree.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/base/voila_setup.macro.html.j2
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/classic/index.html.j2
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/classic/static/labvariables.css
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/classic/static/materialcolors.css
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/lab/browser-open.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/lab/error.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/lab/index.html.j2
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/lab/page.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/lab/tree.html
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/reveal/index.html.j2
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/reveal/static/labvariables.css
    /Users/jhargis/anaconda3/envs/jdaviz/share/jupyter/voila/templates/reveal/static/materialcolors.css
Proceed (Y/n)? y
  Successfully uninstalled voila-0.3.3
(jdaviz) sundial:jdaviz jhargis$ conda install voila
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - voila

Current channels:

  - http://ssb.stsci.edu/astroconda/osx-64
  - http://ssb.stsci.edu/astroconda/noarch
  - https://repo.anaconda.com/pkgs/main/osx-64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.
pllim commented 2 years ago

Try this: conda install voila -c conda-forge

p.s. You should really remove astroconda from your .condarc file.

jrhastro commented 2 years ago

I ran the new install command and get the following error. The browser hangs with the "Executing cell 1 of 1".

(jdaviz) sundial:jdaviz jhargis$ jdaviz ./manga-8485-1901-LOGCUBE.fits.gz --layout=cubeviz
[Voila] Using /var/folders/wq/b0ymy3v15253byc7kntj80xc0001n8/T to store connection files
[Voila] Storing connection files in /var/folders/wq/b0ymy3v15253byc7kntj80xc0001n8/T/voila_zcdu4kh9.
[Voila] Serving static files from /Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/voila/static.
[Voila] Voilà is running at:
http://localhost:8866/
[Voila] WARNING | Notebook notebook.ipynb is not trusted
[Voila] Kernel started: 3fd80a30-6ee0-448e-9f61-9d97f4be07e4
/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/auth/decorator.py:66: FutureWarning: The Tornado web application does not have an 'authorizer' defined in its settings. In future releases of jupyter_server, this will be a required key for all subclasses of `JupyterHandler`. For an example, see the jupyter_server source code for how to add an authorizer to the tornado settings: https://github.com/jupyter-server/jupyter_server/blob/653740cbad7ce0c8a8752ce83e4d3c2c754b13cb/jupyter_server/serverapp.py#L234-L256
  warnings.warn(
ERROR:tornado.application:Uncaught exception GET /api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 409, in get
    await super(ZMQChannelsHandler, self).get(kernel_id=kernel_id)
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 335, in get
    await res
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 376, in pre_get
    super(ZMQChannelsHandler, self).pre_get()
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 323, in pre_get
    if not self.authorizer.is_authorized(self, user, "execute", "kernels"):
AttributeError: 'NoneType' object has no attribute 'is_authorized'
ERROR:tornado.application:Uncaught exception GET /api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 409, in get
    await super(ZMQChannelsHandler, self).get(kernel_id=kernel_id)
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 335, in get
    await res
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 376, in pre_get
    super(ZMQChannelsHandler, self).pre_get()
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 323, in pre_get
    if not self.authorizer.is_authorized(self, user, "execute", "kernels"):
AttributeError: 'NoneType' object has no attribute 'is_authorized'
ERROR:tornado.application:Uncaught exception GET /api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 409, in get
    await super(ZMQChannelsHandler, self).get(kernel_id=kernel_id)
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 335, in get
    await res
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 376, in pre_get
    super(ZMQChannelsHandler, self).pre_get()
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 323, in pre_get
    if not self.authorizer.is_authorized(self, user, "execute", "kernels"):
AttributeError: 'NoneType' object has no attribute 'is_authorized'
ERROR:tornado.application:Uncaught exception GET /api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 409, in get
    await super(ZMQChannelsHandler, self).get(kernel_id=kernel_id)
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 335, in get
    await res
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 376, in pre_get
    super(ZMQChannelsHandler, self).pre_get()
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 323, in pre_get
    if not self.authorizer.is_authorized(self, user, "execute", "kernels"):
AttributeError: 'NoneType' object has no attribute 'is_authorized'
ERROR:tornado.application:Uncaught exception GET /api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 409, in get
    await super(ZMQChannelsHandler, self).get(kernel_id=kernel_id)
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 335, in get
    await res
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 376, in pre_get
    super(ZMQChannelsHandler, self).pre_get()
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 323, in pre_get
    if not self.authorizer.is_authorized(self, user, "execute", "kernels"):
AttributeError: 'NoneType' object has no attribute 'is_authorized'
ERROR:tornado.application:Uncaught exception GET /api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 409, in get
    await super(ZMQChannelsHandler, self).get(kernel_id=kernel_id)
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 335, in get
    await res
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 376, in pre_get
    super(ZMQChannelsHandler, self).pre_get()
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 323, in pre_get
    if not self.authorizer.is_authorized(self, user, "execute", "kernels"):
AttributeError: 'NoneType' object has no attribute 'is_authorized'
ERROR:tornado.application:Uncaught exception GET /api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a (::1)
HTTPServerRequest(protocol='http', host='localhost:8866', method='GET', uri='/api/kernels/3fd80a30-6ee0-448e-9f61-9d97f4be07e4/channels?session_id=ab4ccc87-860c-4a2f-87ac-b0177e3d855a', version='HTTP/1.1', remote_ip='::1')
Traceback (most recent call last):
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/tornado/web.py", line 1704, in _execute
    result = await result
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 409, in get
    await super(ZMQChannelsHandler, self).get(kernel_id=kernel_id)
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 335, in get
    await res
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/services/kernels/handlers.py", line 376, in pre_get
    super(ZMQChannelsHandler, self).pre_get()
  File "/Users/jhargis/anaconda3/envs/jdaviz/lib/python3.8/site-packages/jupyter_server/base/zmqhandlers.py", line 323, in pre_get
    if not self.authorizer.is_authorized(self, user, "execute", "kernels"):
AttributeError: 'NoneType' object has no attribute 'is_authorized'
pllim commented 2 years ago

Can you please try this?

  1. Modify your ~/.condarc channel settings to the following:
channel_priority: strict
channels:
  - defaults
  - conda-forge
  1. conda deactivate (and make sure you are back in base env)
  2. Create another new environment and activate it.
  3. conda install jupyter notebook voila
  4. pip install jdaviz (if you want to use --no-cache-dir here, you can)

If you still encounter errors, I'll have to ask someone with Big Sur machine.

jrhastro commented 2 years ago

Ok, this appears to have fixed the problem! For completeness and in case it is helpful, here is the output of the pip install jdaviz --no-cache-dir command:

$ pip install jdaviz --no-cache-dir
Collecting jdaviz
  Downloading jdaviz-2.3.0-py3-none-any.whl (303 kB)
     |████████████████████████████████| 303 kB 7.9 MB/s 
Collecting ipyvue>=1.6
  Downloading ipyvue-1.7.0-py2.py3-none-any.whl (2.7 MB)
     |████████████████████████████████| 2.7 MB 63.5 MB/s 
Collecting asteval>=0.9.23
  Downloading asteval-0.9.26.tar.gz (40 kB)
     |████████████████████████████████| 40 kB 47.1 MB/s 
Collecting pyyaml>=5.4.1
  Downloading PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl (192 kB)
     |████████████████████████████████| 192 kB 92.4 MB/s 
Collecting click>=7.1.2
  Downloading click-8.0.4-py3-none-any.whl (97 kB)
     |████████████████████████████████| 97 kB 84.2 MB/s 
Collecting bqplot>=0.12.33
  Downloading bqplot-0.12.33-py2.py3-none-any.whl (1.2 MB)
     |████████████████████████████████| 1.2 MB 65.3 MB/s 
Collecting scikit-image
  Downloading scikit_image-0.19.2-cp38-cp38-macosx_10_13_x86_64.whl (13.1 MB)
     |████████████████████████████████| 13.1 MB 10.3 MB/s 
Collecting echo>=0.5.0
  Downloading echo-0.6-py3-none-any.whl (27 kB)
Requirement already satisfied: voila>=0.2.4 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jdaviz) (0.3.1)
Collecting specutils>=1.7.0
  Downloading specutils-1.7.0-py3-none-any.whl (190 kB)
     |████████████████████████████████| 190 kB 100.7 MB/s 
Collecting astropy>=4.3
  Downloading astropy-5.0.2-cp38-cp38-macosx_10_9_x86_64.whl (6.9 MB)
     |████████████████████████████████| 6.9 MB 66.4 MB/s 
Collecting glue-astronomy>=0.3.2
  Downloading glue_astronomy-0.3.2-py3-none-any.whl (13 kB)
Collecting gwcs>=0.16.1
  Downloading gwcs-0.18.1-py3-none-any.whl (104 kB)
     |████████████████████████████████| 104 kB 64.2 MB/s 
Collecting regions>=0.5
  Downloading regions-0.5-cp38-cp38-macosx_10_9_x86_64.whl (312 kB)
     |████████████████████████████████| 312 kB 86.0 MB/s 
Collecting ipyvuetify>=1.7.0
  Downloading ipyvuetify-1.8.2-1-py2.py3-none-any.whl (11.7 MB)
     |████████████████████████████████| 11.7 MB 62.2 MB/s 
Collecting ipysplitpanes>=0.1.0
  Downloading ipysplitpanes-0.2.0-py2.py3-none-any.whl (270 kB)
     |████████████████████████████████| 270 kB 53.4 MB/s 
Collecting glue-jupyter<0.11.0
  Downloading glue_jupyter-0.10.1-py3-none-any.whl (108 kB)
     |████████████████████████████████| 108 kB 93.3 MB/s 
Collecting vispy>=0.6.5
  Downloading vispy-0.9.6-cp38-cp38-macosx_10_9_x86_64.whl (1.4 MB)
     |████████████████████████████████| 1.4 MB 58.4 MB/s 
Requirement already satisfied: traitlets>=5.0.5 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jdaviz) (5.1.1)
Collecting bqplot-image-gl>=1.4.5
  Downloading bqplot_image_gl-1.4.6-py2.py3-none-any.whl (523 kB)
     |████████████████████████████████| 523 kB 85.2 MB/s 
Collecting glue-core>=1.2.2
  Downloading glue_core-1.2.4-py3-none-any.whl (1.5 MB)
     |████████████████████████████████| 1.5 MB 61.8 MB/s 
Requirement already satisfied: idna in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jdaviz) (3.3)
Collecting matplotlib
  Downloading matplotlib-3.5.1-cp38-cp38-macosx_10_9_x86_64.whl (7.3 MB)
     |████████████████████████████████| 7.3 MB 66.0 MB/s 
Collecting ipygoldenlayout>=0.3.0
  Downloading ipygoldenlayout-0.4.0-py2.py3-none-any.whl (930 kB)
     |████████████████████████████████| 930 kB 30.9 MB/s 
Collecting asdf>=2.7.4
  Downloading asdf-2.11.0-py3-none-any.whl (402 kB)
     |████████████████████████████████| 402 kB 51.8 MB/s 
Collecting sidecar>=0.5.1
  Downloading sidecar-0.5.1-py2.py3-none-any.whl (80 kB)
     |████████████████████████████████| 80 kB 57.9 MB/s 
Collecting numpy>=1.10
  Downloading numpy-1.22.3-cp38-cp38-macosx_10_14_x86_64.whl (17.6 MB)
     |████████████████████████████████| 17.6 MB 55.0 MB/s 
Collecting jsonschema>=4.0.1
  Downloading jsonschema-4.4.0-py3-none-any.whl (72 kB)
     |████████████████████████████████| 72 kB 33.2 MB/s 
Collecting asdf-standard>=1.0.1
  Downloading asdf_standard-1.0.1-py3-none-any.whl (68 kB)
     |████████████████████████████████| 68 kB 13.2 MB/s 
Collecting jmespath>=0.6.2
  Downloading jmespath-1.0.0-py3-none-any.whl (23 kB)
Requirement already satisfied: packaging>=16.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from asdf>=2.7.4->jdaviz) (21.3)
Collecting semantic-version>=2.8
  Downloading semantic_version-2.9.0-py2.py3-none-any.whl (15 kB)
Collecting asdf-transform-schemas>=0.2.2
  Downloading asdf_transform_schemas-0.2.2-py3-none-any.whl (191 kB)
     |████████████████████████████████| 191 kB 69.3 MB/s 
Collecting importlib-resources>=3
  Downloading importlib_resources-5.4.0-py3-none-any.whl (28 kB)
Collecting pyerfa>=2.0
  Downloading pyerfa-2.0.0.1-cp38-cp38-macosx_10_9_x86_64.whl (343 kB)
     |████████████████████████████████| 343 kB 64.2 MB/s 
Collecting traittypes>=0.0.6
  Downloading traittypes-0.2.1-py2.py3-none-any.whl (8.6 kB)
Requirement already satisfied: ipywidgets>=7.5.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from bqplot>=0.12.33->jdaviz) (7.6.5)
Collecting pandas<2.0.0,>=1.0.0
  Downloading pandas-1.4.1-cp38-cp38-macosx_10_9_x86_64.whl (11.4 MB)
     |████████████████████████████████| 11.4 MB 43.7 MB/s 
Requirement already satisfied: qtpy in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from echo>=0.5.0->jdaviz) (1.11.2)
Collecting spectral-cube>=0.5.0
  Downloading spectral_cube-0.6.0-py3-none-any.whl (218 kB)
     |████████████████████████████████| 218 kB 56.8 MB/s 
Requirement already satisfied: qtconsole>=4.3 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from glue-core>=1.2.2->jdaviz) (5.2.2)
Collecting h5py>=2.10
  Downloading h5py-3.6.0-cp38-cp38-macosx_10_9_x86_64.whl (3.1 MB)
     |████████████████████████████████| 3.1 MB 55.6 MB/s 
Collecting openpyxl>=3.0
  Downloading openpyxl-3.0.9-py2.py3-none-any.whl (242 kB)
     |████████████████████████████████| 242 kB 46.5 MB/s 
Collecting mpl-scatter-density>=0.7
  Downloading mpl_scatter_density-0.7-py3-none-any.whl (655 kB)
     |████████████████████████████████| 655 kB 78.8 MB/s 
Collecting xlrd>=1.2
  Downloading xlrd-2.0.1-py2.py3-none-any.whl (96 kB)
     |████████████████████████████████| 96 kB 45.1 MB/s 
Requirement already satisfied: ipykernel!=5.0.0,!=5.1.0,>=4.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from glue-core>=1.2.2->jdaviz) (6.9.1)
Requirement already satisfied: ipython>=4.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from glue-core>=1.2.2->jdaviz) (8.1.1)
Requirement already satisfied: setuptools>=30.3.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from glue-core>=1.2.2->jdaviz) (58.0.4)
Collecting scipy>=1.1
  Downloading scipy-1.8.0-cp38-cp38-macosx_12_0_universal2.macosx_10_9_x86_64.whl (55.3 MB)
     |████████████████████████████████| 55.3 MB 28.3 MB/s 
Collecting dill>=0.2
  Downloading dill-0.3.4-py2.py3-none-any.whl (86 kB)
     |████████████████████████████████| 86 kB 75.3 MB/s 
Collecting ipympl>=0.3.0
  Downloading ipympl-0.8.8-py2.py3-none-any.whl (507 kB)
     |████████████████████████████████| 507 kB 54.6 MB/s 
Requirement already satisfied: notebook>=4.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from glue-jupyter<0.11.0->jdaviz) (6.4.8)
Collecting ipyvolume>=0.5.0
  Downloading ipyvolume-0.5.2-py2.py3-none-any.whl (2.9 MB)
     |████████████████████████████████| 2.9 MB 52.1 MB/s 
Collecting glue-vispy-viewers>=1.0
  Downloading glue_vispy_viewers-1.0.5-py3-none-any.whl (124 kB)
     |████████████████████████████████| 124 kB 29.7 MB/s 
Collecting pillow
  Downloading Pillow-9.0.1-cp38-cp38-macosx_10_10_x86_64.whl (3.0 MB)
     |████████████████████████████████| 3.0 MB 51.7 MB/s 
Collecting pyopengl
  Downloading PyOpenGL-3.1.6-py3-none-any.whl (2.4 MB)
     |████████████████████████████████| 2.4 MB 58.5 MB/s 
Collecting asdf-wcs-schemas
  Downloading asdf_wcs_schemas-0.1.1.tar.gz (22 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Collecting asdf-astropy>=0.2.0
  Downloading asdf_astropy-0.2.0-py3-none-any.whl (60 kB)
     |████████████████████████████████| 60 kB 70.8 MB/s 
Collecting asdf-coordinates-schemas
  Downloading asdf_coordinates_schemas-0.1.0.tar.gz (11 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Requirement already satisfied: zipp>=3.1.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from importlib-resources>=3->asdf>=2.7.4->jdaviz) (3.7.0)
Requirement already satisfied: nest-asyncio in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (1.5.1)
Requirement already satisfied: jupyter-client<8.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (7.1.2)
Requirement already satisfied: debugpy<2.0,>=1.0.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (1.5.1)
Requirement already satisfied: appnope in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (0.1.2)
Requirement already satisfied: tornado<7.0,>=4.2 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (6.1)
Requirement already satisfied: matplotlib-inline<0.2.0,>=0.1.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (0.1.2)
Requirement already satisfied: ipython-genutils in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipympl>=0.3.0->glue-jupyter<0.11.0->jdaviz) (0.2.0)
Requirement already satisfied: prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (3.0.20)
Requirement already satisfied: pygments>=2.4.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (2.11.2)
Requirement already satisfied: jedi>=0.16 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.18.1)
Requirement already satisfied: pexpect>4.3 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (4.8.0)
Requirement already satisfied: backcall in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.2.0)
Requirement already satisfied: decorator in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (5.1.1)
Requirement already satisfied: stack-data in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.2.0)
Requirement already satisfied: pickleshare in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.7.5)
Collecting requests
  Downloading requests-2.27.1-py2.py3-none-any.whl (63 kB)
     |████████████████████████████████| 63 kB 36.5 MB/s 
Collecting ipywebrtc
  Downloading ipywebrtc-0.6.0-py2.py3-none-any.whl (260 kB)
     |████████████████████████████████| 260 kB 57.0 MB/s 
Collecting pythreejs>=1.0.0
  Downloading pythreejs-2.3.0-py2.py3-none-any.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 61.7 MB/s 
Requirement already satisfied: nbformat>=4.2.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipywidgets>=7.5.0->bqplot>=0.12.33->jdaviz) (5.1.3)
Requirement already satisfied: jupyterlab-widgets>=1.0.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipywidgets>=7.5.0->bqplot>=0.12.33->jdaviz) (1.0.0)
Requirement already satisfied: widgetsnbextension~=3.5.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from ipywidgets>=7.5.0->bqplot>=0.12.33->jdaviz) (3.5.2)
Requirement already satisfied: parso<0.9.0,>=0.8.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jedi>=0.16->ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.8.3)
Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jsonschema>=4.0.1->asdf>=2.7.4->jdaviz) (0.18.0)
Requirement already satisfied: attrs>=17.4.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jsonschema>=4.0.1->asdf>=2.7.4->jdaviz) (21.4.0)
Requirement already satisfied: pyzmq>=13 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jupyter-client<8.0->ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (22.3.0)
Requirement already satisfied: python-dateutil>=2.1 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jupyter-client<8.0->ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (2.8.2)
Requirement already satisfied: entrypoints in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jupyter-client<8.0->ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (0.3)
Requirement already satisfied: jupyter-core>=4.6.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jupyter-client<8.0->ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (4.9.2)
Collecting cycler>=0.10
  Downloading cycler-0.11.0-py3-none-any.whl (6.4 kB)
Collecting kiwisolver>=1.0.1
  Downloading kiwisolver-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl (61 kB)
     |████████████████████████████████| 61 kB 45.2 MB/s 
Collecting fonttools>=4.22.0
  Downloading fonttools-4.30.0-py3-none-any.whl (898 kB)
     |████████████████████████████████| 898 kB 42.0 MB/s 
Requirement already satisfied: pyparsing>=2.2.1 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from matplotlib->jdaviz) (3.0.4)
Collecting fast-histogram>=0.3
  Downloading fast_histogram-0.10-cp38-cp38-macosx_10_9_x86_64.whl (19 kB)
Requirement already satisfied: argon2-cffi in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (21.3.0)
Requirement already satisfied: jinja2 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (3.0.3)
Requirement already satisfied: Send2Trash>=1.8.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (1.8.0)
Requirement already satisfied: nbconvert in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (6.3.0)
Requirement already satisfied: terminado>=0.8.3 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (0.13.1)
Requirement already satisfied: prometheus-client in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (0.13.1)
Collecting et-xmlfile
  Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB)
Collecting pytz>=2020.1
  Downloading pytz-2021.3-py2.py3-none-any.whl (503 kB)
     |████████████████████████████████| 503 kB 36.0 MB/s 
Requirement already satisfied: ptyprocess>=0.5 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from pexpect>4.3->ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.7.0)
Requirement already satisfied: wcwidth in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from prompt-toolkit!=3.0.0,!=3.0.1,<3.1.0,>=2.0.0->ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.2.5)
Requirement already satisfied: six>=1.5 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from python-dateutil>=2.1->jupyter-client<8.0->ipykernel!=5.0.0,!=5.1.0,>=4.0->glue-core>=1.2.2->jdaviz) (1.16.0)
Collecting ipydatawidgets>=1.1.1
  Downloading ipydatawidgets-4.2.0-py2.py3-none-any.whl (275 kB)
     |████████████████████████████████| 275 kB 37.2 MB/s 
Collecting jupyterlab<4,>=3.0.0
  Downloading jupyterlab-3.3.2-py3-none-any.whl (8.7 MB)
     |████████████████████████████████| 8.7 MB 37.2 MB/s 
Requirement already satisfied: jupyter-server~=1.4 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jupyterlab<4,>=3.0.0->sidecar>=0.5.1->jdaviz) (1.13.5)
Collecting jupyterlab-server~=2.10
  Downloading jupyterlab_server-2.11.2-py3-none-any.whl (50 kB)
     |████████████████████████████████| 50 kB 41.7 MB/s 
Collecting nbclassic~=0.2
  Downloading nbclassic-0.3.7-py3-none-any.whl (13 kB)
Requirement already satisfied: MarkupSafe>=2.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jinja2->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (2.0.1)
Requirement already satisfied: anyio<4,>=3.1.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jupyter-server~=1.4->jupyterlab<4,>=3.0.0->sidecar>=0.5.1->jdaviz) (3.5.0)
Requirement already satisfied: websocket-client in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from jupyter-server~=1.4->jupyterlab<4,>=3.0.0->sidecar>=0.5.1->jdaviz) (0.58.0)
Requirement already satisfied: sniffio>=1.1 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from anyio<4,>=3.1.0->jupyter-server~=1.4->jupyterlab<4,>=3.0.0->sidecar>=0.5.1->jdaviz) (1.2.0)
Collecting json5
  Downloading json5-0.9.6-py2.py3-none-any.whl (18 kB)
Collecting babel
  Downloading Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
     |████████████████████████████████| 8.8 MB 52.6 MB/s 
Collecting notebook-shim>=0.1.0
  Downloading notebook_shim-0.1.0-py3-none-any.whl (13 kB)
Collecting casa-formats-io
  Downloading casa_formats_io-0.1-cp38-cp38-macosx_10_9_x86_64.whl (26 kB)
Collecting radio-beam>=0.3.3
  Downloading radio_beam-0.3.3-py3-none-any.whl (73 kB)
     |████████████████████████████████| 73 kB 48.0 MB/s 
Collecting dask[array]
  Downloading dask-2022.2.1-py3-none-any.whl (1.1 MB)
     |████████████████████████████████| 1.1 MB 51.1 MB/s 
Collecting joblib
  Downloading joblib-1.1.0-py2.py3-none-any.whl (306 kB)
     |████████████████████████████████| 306 kB 25.1 MB/s 
Collecting ndcube>=2.0
  Downloading ndcube-2.0.1-py3-none-any.whl (108 kB)
     |████████████████████████████████| 108 kB 57.4 MB/s 
Collecting hsluv
  Downloading hsluv-5.0.2-py2.py3-none-any.whl (5.1 kB)
Collecting freetype-py
  Downloading freetype_py-2.2.0-py3-none-macosx_10_9_x86_64.whl (852 kB)
     |████████████████████████████████| 852 kB 91.2 MB/s 
Requirement already satisfied: websockets>=9.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from voila>=0.2.4->jdaviz) (10.2)
Requirement already satisfied: nbclient<0.6,>=0.4.0 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from voila>=0.2.4->jdaviz) (0.5.11)
Requirement already satisfied: testpath in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from nbconvert->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (0.5.0)
Requirement already satisfied: defusedxml in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from nbconvert->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (0.7.1)
Requirement already satisfied: bleach in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from nbconvert->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (4.1.0)
Requirement already satisfied: jupyterlab-pygments in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from nbconvert->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (0.1.2)
Requirement already satisfied: mistune<2,>=0.8.1 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from nbconvert->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (0.8.4)
Requirement already satisfied: pandocfilters>=1.4.1 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from nbconvert->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (1.5.0)
Requirement already satisfied: argon2-cffi-bindings in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from argon2-cffi->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (21.2.0)
Requirement already satisfied: cffi>=1.0.1 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from argon2-cffi-bindings->argon2-cffi->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (1.15.0)
Requirement already satisfied: pycparser in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (2.21)
Requirement already satisfied: webencodings in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from bleach->nbconvert->notebook>=4.0->glue-jupyter<0.11.0->jdaviz) (0.5.1)
Collecting fsspec>=0.6.0
  Downloading fsspec-2022.2.0-py3-none-any.whl (134 kB)
     |████████████████████████████████| 134 kB 44.6 MB/s 
Collecting toolz>=0.8.2
  Downloading toolz-0.11.2-py3-none-any.whl (55 kB)
     |████████████████████████████████| 55 kB 58.3 MB/s 
Collecting cloudpickle>=1.1.1
  Downloading cloudpickle-2.0.0-py3-none-any.whl (25 kB)
Collecting partd>=0.3.10
  Downloading partd-1.2.0-py3-none-any.whl (19 kB)
Collecting locket
  Downloading locket-0.2.1-py2.py3-none-any.whl (4.1 kB)
Requirement already satisfied: certifi>=2017.4.17 in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from requests->ipyvolume>=0.5.0->glue-jupyter<0.11.0->jdaviz) (2021.10.8)
Collecting charset-normalizer~=2.0.0
  Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting urllib3<1.27,>=1.21.1
  Downloading urllib3-1.26.9-py2.py3-none-any.whl (138 kB)
     |████████████████████████████████| 138 kB 48.5 MB/s 
Collecting imageio>=2.4.1
  Downloading imageio-2.16.1-py3-none-any.whl (3.3 MB)
     |████████████████████████████████| 3.3 MB 53.8 MB/s 
Collecting tifffile>=2019.7.26
  Downloading tifffile-2022.3.16-py3-none-any.whl (179 kB)
     |████████████████████████████████| 179 kB 54.3 MB/s 
Collecting networkx>=2.2
  Downloading networkx-2.7.1-py3-none-any.whl (2.0 MB)
     |████████████████████████████████| 2.0 MB 56.6 MB/s 
Collecting PyWavelets>=1.1.1
  Downloading PyWavelets-1.3.0-cp38-cp38-macosx_10_13_x86_64.whl (4.3 MB)
     |████████████████████████████████| 4.3 MB 49.4 MB/s 
Requirement already satisfied: pure-eval in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from stack-data->ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.2.2)
Requirement already satisfied: asttokens in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from stack-data->ipython>=4.0->glue-core>=1.2.2->jdaviz) (2.0.5)
Requirement already satisfied: executing in ./anaconda3/envs/jdaviz_new/lib/python3.8/site-packages (from stack-data->ipython>=4.0->glue-core>=1.2.2->jdaviz) (0.8.3)
Building wheels for collected packages: asteval, asdf-coordinates-schemas, asdf-wcs-schemas
  Building wheel for asteval (setup.py) ... done
  Created wheel for asteval: filename=asteval-0.9.26-py3-none-any.whl size=17648 sha256=5bf96b10f1d376cf3572978329a9dc8a64794bb8b49862a88b824ad538e29f83
  Stored in directory: /private/var/folders/wq/b0ymy3v15253byc7kntj80xc0001n8/T/pip-ephem-wheel-cache-p_kamp_4/wheels/47/4c/d9/c7d96ded3eb3b19c1eb25db6711127ba139dcf13fad2c08bc3
  Building wheel for asdf-coordinates-schemas (PEP 517) ... done
  Created wheel for asdf-coordinates-schemas: filename=asdf_coordinates_schemas-0.1.0-py3-none-any.whl size=19013 sha256=137265ae9bf119207a2639818bf081eac85f78ac3da312600188cc8f7891f6db
  Stored in directory: /private/var/folders/wq/b0ymy3v15253byc7kntj80xc0001n8/T/pip-ephem-wheel-cache-p_kamp_4/wheels/c1/2e/00/8e32091089f663e754b0e9e9a9a623ced57a0241d27f3c38e0
  Building wheel for asdf-wcs-schemas (PEP 517) ... done
  Created wheel for asdf-wcs-schemas: filename=asdf_wcs_schemas-0.1.1-py3-none-any.whl size=26608 sha256=fc8f18d32137ff810496f04d974883301de22f34d964fa000b80cdf94484c5d5
  Stored in directory: /private/var/folders/wq/b0ymy3v15253byc7kntj80xc0001n8/T/pip-ephem-wheel-cache-p_kamp_4/wheels/0f/b7/dd/054028975f9016d9369d3bdd318ee6b6bf11a5e9dc2871e541
Successfully built asteval asdf-coordinates-schemas asdf-wcs-schemas
Installing collected packages: importlib-resources, jsonschema, asdf-standard, semantic-version, pyyaml, numpy, jmespath, asdf-transform-schemas, toolz, pyerfa, locket, asdf, pillow, partd, kiwisolver, fsspec, fonttools, cycler, cloudpickle, astropy, asdf-coordinates-schemas, urllib3, traittypes, scipy, pytz, matplotlib, fast-histogram, et-xmlfile, dask, charset-normalizer, asdf-wcs-schemas, asdf-astropy, xlrd, requests, pandas, openpyxl, notebook-shim, mpl-scatter-density, json5, ipydatawidgets, hsluv, h5py, gwcs, freetype-py, echo, dill, babel, vispy, tifffile, radio-beam, PyWavelets, pythreejs, pyopengl, networkx, ndcube, nbclassic, jupyterlab-server, joblib, ipywebrtc, ipyvue, imageio, glue-core, casa-formats-io, bqplot, specutils, spectral-cube, scikit-image, regions, jupyterlab, ipyvuetify, ipyvolume, ipympl, glue-vispy-viewers, bqplot-image-gl, sidecar, ipysplitpanes, ipygoldenlayout, glue-jupyter, glue-astronomy, click, asteval, jdaviz
  Attempting uninstall: jsonschema
    Found existing installation: jsonschema 3.2.0
    Uninstalling jsonschema-3.2.0:
      Successfully uninstalled jsonschema-3.2.0
Successfully installed PyWavelets-1.3.0 asdf-2.11.0 asdf-astropy-0.2.0 asdf-coordinates-schemas-0.1.0 asdf-standard-1.0.1 asdf-transform-schemas-0.2.2 asdf-wcs-schemas-0.1.1 asteval-0.9.26 astropy-5.0.2 babel-2.9.1 bqplot-0.12.33 bqplot-image-gl-1.4.6 casa-formats-io-0.1 charset-normalizer-2.0.12 click-8.0.4 cloudpickle-2.0.0 cycler-0.11.0 dask-2022.2.1 dill-0.3.4 echo-0.6 et-xmlfile-1.1.0 fast-histogram-0.10 fonttools-4.30.0 freetype-py-2.2.0 fsspec-2022.2.0 glue-astronomy-0.3.2 glue-core-1.2.4 glue-jupyter-0.10.1 glue-vispy-viewers-1.0.5 gwcs-0.18.1 h5py-3.6.0 hsluv-5.0.2 imageio-2.16.1 importlib-resources-5.4.0 ipydatawidgets-4.2.0 ipygoldenlayout-0.4.0 ipympl-0.8.8 ipysplitpanes-0.2.0 ipyvolume-0.5.2 ipyvue-1.7.0 ipyvuetify-1.8.2 ipywebrtc-0.6.0 jdaviz-2.3.0 jmespath-1.0.0 joblib-1.1.0 json5-0.9.6 jsonschema-4.4.0 jupyterlab-3.3.2 jupyterlab-server-2.11.2 kiwisolver-1.4.0 locket-0.2.1 matplotlib-3.5.1 mpl-scatter-density-0.7 nbclassic-0.3.7 ndcube-2.0.1 networkx-2.7.1 notebook-shim-0.1.0 numpy-1.22.3 openpyxl-3.0.9 pandas-1.4.1 partd-1.2.0 pillow-9.0.1 pyerfa-2.0.0.1 pyopengl-3.1.6 pythreejs-2.3.0 pytz-2021.3 pyyaml-6.0 radio-beam-0.3.3 regions-0.5 requests-2.27.1 scikit-image-0.19.2 scipy-1.8.0 semantic-version-2.9.0 sidecar-0.5.1 spectral-cube-0.6.0 specutils-1.7.0 tifffile-2022.3.16 toolz-0.11.2 traittypes-0.2.1 urllib3-1.26.9 vispy-0.9.6 xlrd-2.0.1