-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No module named 'PyQt5.QtWebEngineWidgets' #432
Comments
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! |
Hi @ameraner, I have a problem similar to that described by @PedroVenancio, but I haven't try to install the latest yet (yes, my version loaded from conda-forge is v 1.2.3). I'll try to do it asap. I then tried with this: obtaining: |
Hi @ameraner this is what I obtained trying to install the beta version following the instructions on https://sift.readthedocs.io/en/latest/dev_guide/contributing.html#dev-install : |
Ah, that is because there are no ecmwflibs wheels for python 3.12 - in the setup.py we limit to <=3.11 (https://github.com/ssec/sift/blob/master/setup.py#L230C5-L230C99). Can you please try with a py3.11 environment? then it should finally work :) |
Hi Andrea,
still something to be fixed after the python 3.11 installation:
(sift_env) ***@***.***:~$ 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/luca/miniforge3/envs/sift_env/lib/python3.11/site-packages/uwsift/__main__.py",
line 54, in <module>
from uwsift.view.scene_graph import SceneGraphManager
File
"/home/luca/miniforge3/envs/sift_env/lib/python3.11/site-packages/uwsift/view/scene_graph.py",
line 50, in <module>
from uwsift.view.visuals import (NEShapefileLines,
TiledGeolocatedImage, RGBCompositeLayer, PrecomputedIsocurve)
File
"/home/luca/miniforge3/envs/sift_env/lib/python3.11/site-packages/uwsift/view/visuals.py",
line 34, in <module>
from vispy.gloo.texture import should_cast_to_f32
ImportError: cannot import name 'should_cast_to_f32' from
'vispy.gloo.texture'
(/home/luca/miniforge3/envs/sift_env/lib/python3.11/site-packages/vispy/gloo/texture.py)
Does this help?
Luca
*Luca Merucci, Ph.D.*
*Istituto Nazionale di Geofisica e Vulcanologia*
*Via di Vigna Murata, 605*
*00143 Roma (Italia)*
*tel. +39 0651860539*
Il giorno lun 28 ott 2024 alle ore 13:18 Andrea Meraner <
***@***.***> ha scritto:
… Ah, that is because there are no ecmwflibs wheels for python 3.12 - in the
setup.py we limit to <=3.11 (
https://github.com/ssec/sift/blob/master/setup.py#L230C5-L230C99). Can
you please try with a py3.11 environment? then it should finally work :)
—
Reply to this email directly, view it on GitHub
<#432 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2CIBVDV5Y53FVCETGPEALZ5YMRXAVCNFSM6AAAAABQFTUPQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRGQZTAOJUGI>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Hi @ameraner and all, Sorry for the late reply. I had to install conda with Python 3.10:
and then
After that, I had to install some more dependencies:
And finally it worked, but still with several segmentation faults when opening data. It would be very usefull if you can share a Linux bundle for Debian based systems (Debian, Ubuntu, etc.) with all dependencies. Thank you very much! Best regards, |
@PedroVenancio : you can find bundles for Linux here: https://bin.ssec.wisc.edu/pub/sift/dist/experimental/ , e.g. https://bin.ssec.wisc.edu/pub/sift/dist/experimental/SIFT_2.0.0b1dev_linux_20241011_150832.tar.gz @lmeru : did you install sift from conda in the new py3.11 env? I am wondering since the failing line was removed almost two years ago from master, so looks like you're still using an old version of SIFT: 9428ddb . |
Hi Andrea
I can't answer you now: yesterday I tried to follow the Pedro Venancio
suggestion and I downgraded the env to python 3.10 and installed all the
libs that he had indicated in his last email. That installation works.
I can try to make a fresh new env with python 3.11 following your
indications, and checking the sift version.
When do you think vSIFT 2.0 will be released on conda-forge?
L.
*Luca Merucci, Ph.D.*
*Istituto Nazionale di Geofisica e Vulcanologia*
*Via di Vigna Murata, 605*
*00143 Roma (Italia)*
*tel. +39 0651860539*
Il giorno mer 30 ott 2024 alle ore 12:25 Andrea Meraner <
***@***.***> ha scritto:
… @PedroVenancio <https://github.com/PedroVenancio> : you can find bundles
for Linux here: https://bin.ssec.wisc.edu/pub/sift/dist/experimental/ ,
e.g.
https://bin.ssec.wisc.edu/pub/sift/dist/experimental/SIFT_2.0.0b1dev_linux_20241011_150832.tar.gz
@lmeru <https://github.com/lmeru> : did you install sift from conda in
the new py3.11 env? I am wondering since the failing line was removed
almost two years ago from master, so looks like you're still using an old
version of SIFT: 9428ddb
<9428ddb>
.
—
Reply to this email directly, view it on GitHub
<#432 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AK2CIBTVDUJMEADBTXTVHLDZ6C62VAVCNFSM6AAAAABQFTUPQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBWG4YDKMRQG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
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:
This issue seems related to #233
The text was updated successfully, but these errors were encountered: