Installed the jdaviz package into its own new environment following the directions. No issues with the pip installation. However, attempting to load an image gives an error.
from jdaviz import Imviz
import matplotlib.pyplot as plt
import numpy as np
File ~/mambaforge/envs/jdaviz-env/lib/python3.9/site-packages/glue_jupyter/utils.py:101, in get_ioloop()
99 ipython = IPython.get_ipython()
100 if ipython and hasattr(ipython, 'kernel'):
--> 101 return zmq.eventloop.ioloop.IOLoop.instance()
AttributeError: module 'zmq.eventloop' has no attribute 'ioloop'
Desktop info:
OS: [e.g. iOS]
Mac OS 12.5.1
Browser: [e.g. chrome 88, safari 22]
Chrome Version 107.0.5304.12
Installed the jdaviz package into its own new environment following the directions. No issues with the pip installation. However, attempting to load an image gives an error.
from jdaviz import Imviz import matplotlib.pyplot as plt import numpy as np
imviz = Imviz() imviz.load_data("/Users/kargaltsev/Dropbox/Public/jw01478-o014_t003_nircam_clear-f277w_i2d.fits")
Gives a very long Traceback with the final error
File ~/mambaforge/envs/jdaviz-env/lib/python3.9/site-packages/glue_jupyter/utils.py:101, in get_ioloop() 99 ipython = IPython.get_ipython() 100 if ipython and hasattr(ipython, 'kernel'): --> 101 return zmq.eventloop.ioloop.IOLoop.instance() AttributeError: module 'zmq.eventloop' has no attribute 'ioloop'
Desktop info:
Packeges info:
macOS-12.5.1-x86_64-i386-64bit Python 3.9.15 | packaged by conda-forge | (main, Nov 22 2022, 08:55:37) [Clang 14.0.6 ] Numpy 1.24.1 astropy 5.2.1 matplotlib 3.6.3 scipy 1.10.0 scikit-image 0.19.3 asdf 2.14.3 gwcs 0.18.3 regions 0.7 specutils 1.9.1 specreduce 1.3.0 photutils 1.6.0 astroquery 0.4.6 pyyaml 6.0 asteval 0.9.28 idna 3.4 traitlets 5.8.1 bqplot 0.12.36 bqplot-image-gl 1.4.11 glue-core 1.6.0 glue-jupyter 0.15.0 glue-astronomy 0.5.1 echo 0.8.0 ipyvue 1.8.0 ipyvuetify 1.8.4 ipysplitpanes 0.2.0 ipygoldenlayout 0.4.0 Jinja2 3.1.2 voila 0.3.6 vispy 0.12.1 sidecar 0.5.2 Jdaviz 3.2.0