ssec / sift

A visualization application for satellite imagery
http://sift.ssec.wisc.edu/
GNU General Public License v3.0
49 stars 14 forks source link

No module named 'PyQt5.QtWebEngineWidgets' #432

Open PedroVenancio opened 14 hours ago

PedroVenancio commented 14 hours ago

I'm trying to install SIFT on a fresh Ubuntu 24.04.1 with Miniforge, following the instructions: https://sift.readthedocs.io/en/latest/installation.html#installing-with-conda

Everything seems to be fine, but when I run SIFT GUI I get:

(sift_env) pedro@omen:~$ python -m uwsift
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/pedro/miniforge3/envs/sift_env/lib/python3.12/site-packages/uwsift/__main__.py", line 39, in <module>
    from uwsift.control.layer_tree import LayerStackTreeViewModel
  File "/home/pedro/miniforge3/envs/sift_env/lib/python3.12/site-packages/uwsift/control/layer_tree.py", line 47, in <module>
    from uwsift.view.colormap_dialogs import ChangeColormapDialog
  File "/home/pedro/miniforge3/envs/sift_env/lib/python3.12/site-packages/uwsift/view/colormap_dialogs.py", line 6, in <module>
    from uwsift.ui.change_colormap_dialog_ui import Ui_changeColormapDialog
  File "/home/pedro/miniforge3/envs/sift_env/lib/python3.12/site-packages/uwsift/ui/change_colormap_dialog_ui.py", line 81, in <module>
    from uwsift.ui.custom_widgets import QNoScrollDoubleSpinBox
  File "/home/pedro/miniforge3/envs/sift_env/lib/python3.12/site-packages/uwsift/ui/custom_widgets.py", line 3, in <module>
    from PyQt5.QtWebEngineWidgets import QWebEngineView
ModuleNotFoundError: No module named 'PyQt5.QtWebEngineWidgets'

This issue seems related to https://github.com/ssec/sift/issues/233

ameraner commented 13 hours ago

Hi @PedroVenancio , if you are installing from conda, you are getting an old version of SIFT (likely v1.2.3), since the latest v2 is not yet released on conda as it is still in beta status. The issue is likely solved on v2, so I would suggest to try to install the latest SIFT from github directly, following the instructions here: https://sift.readthedocs.io/en/latest/dev_guide/contributing.html#dev-install . Please let us know how that goes!