You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Neither the conda installation instructions nor the pip installation instructions, both found on this page, are able install a working version of glue.
To Reproduce
First, conda via the glueviz channel:
Traceback (most recent call last):
File "/home/twenger/miniconda3/envs/glue/bin/glue", line 6, in <module>
from glue.main import main
File "/home/twenger/miniconda3/envs/glue/lib/python3.13/site-packages/glue/__init__.py", line 22, in <module>
from .config import load_configuration
File "/home/twenger/miniconda3/envs/glue/lib/python3.13/site-packages/glue/config.py", line 2, in <module>
import imp
ModuleNotFoundError: No module named 'imp'
Command 'glue' not found, but can be installed with:
sudo apt install glueviz
Finally, pip:
conda deactivate
conda remove --all -n glue
conda create -n glue -c conda-forge python pip
conda activate glue
conda install -c conda-forge
pip install glueviz[all,qt]
# WARNING: glueviz 1.3.0 does not provide the extra 'all'# WARNING: glueviz 1.3.0 does not provide the extra 'qt'
python --version
# Python 3.13.0
glue --version
# 1.21.1
glue
Traceback:
Traceback (most recent call last):
File "/home/twenger/miniconda3/envs/glue/bin/glue", line 8, in <module>
sys.exit(main())
~~~~^^
File "/home/twenger/miniconda3/envs/glue/lib/python3.13/site-packages/glue_qt/main.py", line 253, in main
start_glue(**kwargs)
~~~~~~~~~~^^^^^^^^^^
File "/home/twenger/miniconda3/envs/glue/lib/python3.13/site-packages/glue_qt/main.py", line 145, in start_glue
from glue_qt.utils.decorators import die_on_error
File "/home/twenger/miniconda3/envs/glue/lib/python3.13/site-packages/glue_qt/utils/__init__.py", line 1, in <module>
from .autocomplete_widget import * # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/twenger/miniconda3/envs/glue/lib/python3.13/site-packages/glue_qt/utils/autocomplete_widget.py", line 9, in <module>
from qtpy import QtGui, QtWidgets
File "/home/twenger/miniconda3/envs/glue/lib/python3.13/site-packages/qtpy/__init__.py", line 293, in <module>
raise QtBindingsNotFoundError from None
qtpy.QtBindingsNotFoundError: No Qt bindings could be found
Expected behavior
Installation should proceed as advertised.
Details:
Operating System: Ubuntu/WSL
Python version (python --version): 3.13
Glue version (glue --version): Didn't work
How you installed glue: See above
The text was updated successfully, but these errors were encountered:
Essentially you should use the conda-forge channel instead of the glueviz channel.
For the pip installation, there was an issue with the glueviz meta-package. You should now be able to try again and it should work (but let me know if not!)
Thanks for the quick update to the docs @astrofrog ! I can confirm that the pip and conda installations proceed correctly alongside python 3.12.7 (note the other issue about python 3.13).
Describe the bug
Neither the
conda
installation instructions nor thepip
installation instructions, both found on this page, are able install a working version of glue.To Reproduce
First,
conda
via theglueviz
channel:conda update -n root conda conda create -n glue -c conda-forge python pip conda activate glue conda install -c glueviz glueviz python --version # Python 3.13.0 glue --version
Traceback:
Next,
conda
via theconda-forge
channel:conda deactivate conda remove --all -n glue conda create -n glue -c conda-forge python pip conda activate glue conda install -c conda-forge glueviz python --version # Python 3.13.0 glue --version
Error:
Finally,
pip
:Traceback:
Expected behavior
Installation should proceed as advertised.
Details:
python --version
): 3.13glue --version
): Didn't workThe text was updated successfully, but these errors were encountered: