Open nickcorona opened 4 years ago
Can you provide the output of the following command:
glue-deps list
Also can you provide the version of your operating system ?
And to add to what @specmicp said, could you try starting glue by first starting ipython
then typing:
from glue import qglue
qglue()
?
I ran this command pip install glueviz[all,qt]
to install but it didn't seem to install the dependencies. I got this error:
WARNING: glueviz 0.15.2 does not provide the extra 'all'
WARNING: glueviz 0.15.2 does not provide the extra 'qt'
glue-deps list
PS C:\Users\nickl> glue-deps list
PYTHON
Python: INSTALLED (3.8.2)
GUI FRAMEWORK
PyQt5: NOT INSTALLED
PySide2: NOT INSTALLED
REQUIRED
qtpy: MISSING (Required)
setuptools: INSTALLED (46.3.1)
numpy: INSTALLED (1.18.3)
bottleneck: INSTALLED (1.3.2)
matplotlib: INSTALLED (3.2.1)
pandas: INSTALLED (1.0.3)
astropy: INSTALLED (4.0.1.post1)
dill: INSTALLED (0.3.1.1)
h5py: INSTALLED (2.10.0)
xlrd: INSTALLED (1.2.0)
mpl-scatter-density: INSTALLED (0.6)
glue-vispy-viewers: INSTALLED (0.12.2)
IPYTHON TERMINAL
IPython: INSTALLED (7.13.0)
qtconsole: INSTALLED (4.7.3)
ipykernel: INSTALLED (5.2.1)
traitlets: INSTALLED (4.3.3)
pygments: INSTALLED (2.6.1)
pyzmq: INSTALLED (19.0.0)
GENERAL
scipy: INSTALLED (1.4.1)
scikit-image: MISSING (Used to read popular image formats (jpeg, png, etc.))
ASTRONOMY
PyAVM: MISSING (Used to parse AVM metadata in image files)
spectral-cube: MISSING (Used to read in spectral cubes)
astrodendro: MISSING (Used to read in and represent dendrograms)
TESTING
mock: MISSING (Used in test code)
pytest: MISSING (Used in test code)
EXPORT
plotly: MISSING (Used to explort plots to Plot.ly)
Also can you provide the version of your operating system ? Latest version of windows 10.
I can confirm this problem with a fresh virtualenv (qtpy gets correctly installed for me though).
Manually downloading the package and looking through the setup.cfg shows that the extra_requires are not defined. It looks like they should be defined now (but I didn't knew about that setup.cfg syntax, very nice !)
@nickcorona sorry, I almost forgot, for now, installing PyQt5 should solve the problem:
pip install PyQt5 qtpy
@nickcorona sorry, I almost forgot, for now, installing PyQt5 should solve the problem:
pip install PyQt5 qtpy
Thanks!
Manually downloading the package and looking through the setup.cfg shows that the extra_requires are not defined. It looks like they should be defined now (but I didn't knew about that setup.cfg syntax, very nice !)
[mini]conda apparently gets that now, with conda install glueviz[qt]
installing qt-5.9.7 as qt
, but pip does not and still installs a qtpy
without working QtWidgets
(pip also does not know about a generic qt
or qtpy
package).
So maybe this is more a pip issue.
pip install glue-core[qt]
does include PyQt5 - though maybe we should make it so that pip install glueviz[qt]
works too? (see the extra-requires in glue-core: https://github.com/glue-viz/glue/blob/main/setup.cfg#L93)
So pip install glueviz[qt]
automatically includes glue-core
as a dependency, but does not "forward" the [qt]
selection to the latter? Yes, that certainly has potential for confusion, easiest would be to ensure that glue-core is installed with the same settings.
Installed with pip. Self-explanatory. I run
glue
command in windows powershell and it does nothing.