glue-viz / glue

Linked Data Visualizations Across Multiple Files
http://glueviz.org
Other
729 stars 152 forks source link

pip installation instructions do not include gui #2494

Closed keflavich closed 2 months ago

keflavich commented 4 months ago

The pip installation instructions here:

https://docs.glueviz.org/en/stable/installation/pip.html

do not include installation of frontends, e.g., glue-qt, and therefore pip install glueviz results in uninstalling the command-line app glue.

drvdputt commented 2 months ago

I am running into the same issue. After running pip install glueviz[all,qt] in my environment (one created by python -m venv), the command glue is not installed into that environment. I checked the appropriate bin/ directory and it simply wasn't there.

Python version is 3.12.3, glueviz version 1.2.0.

Workaround

I eventually got it working by installing the following

pip install glueviz[all]
pip install glue-qt
pip install pyqt6

A pip install of pyqt6 was necessary because it seems glue-qt does not include a pyqt version as a dependency. Without it, I was getting qtpy.QtBindingsNotFoundError: No Qt bindings could be found.

astrofrog commented 2 months ago

I had forgotten to add glue-qt to the glueviz meta-package following the splitting out of glue-qt. I have now done this and released glueviz 1.3.0 which should work as expected. Please feel free to open a new issue if not!