Skip to content
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

Error when validation of intalling packages on Qgis #193

Open
mraduca opened this issue Nov 19, 2024 · 8 comments
Open

Error when validation of intalling packages on Qgis #193

mraduca opened this issue Nov 19, 2024 · 8 comments

Comments

@mraduca
Copy link

mraduca commented Nov 19, 2024

Hello,

I'm trying to install the Deepness extension on Qgis, I've tried directly from Qgis and with the alternative of the ZIP file, but I have this error on the package Installer Dialog:

Capture d’écran, le 2024-11-19 à 14 44 40

I have the IOS Sonoma 14.6.1
Qgis 3.34

Thank you!

@przemyslaw-aszkowski
Copy link
Contributor

Hi

Could you try on Windows or Linux? There are quite a few corner cases on iOS, and we have only one PC with iOS that works fine.

Cheers
Przemek

@mraduca
Copy link
Author

mraduca commented Nov 22, 2024

Hello Przemek,

Sorry I only have a Mac. Gonna try again later this week-end.

Thank you!

@AlainFELER
Copy link

AlainFELER commented Nov 22, 2024

Hello, I just started with Deepness today, on a PC with Windows 10, Nvidia Quadro 600, and QGIS 3.34.5.
The install from the plugin repository did work fine and installed the 0.6.4 version, but there were a bit of trouble when I clicked Install packages : pandas required a newer python-dateutil, and scipy required an older numpy than mines. I upgraded everything and it seemed to work.
Many thanks.
AF

@przemyslaw-aszkowski
Copy link
Contributor

Good to hear it works for you.
Can you describe what you did for others if they encounter a similar issue?
Thanks

@AlainFELER
Copy link

AlainFELER commented Dec 1, 2024

Ok, here are the details.
I'm with QGIS 3.34.5 with Python 3.9.18 on Windows 10. I pass all the commands from the OSGEO4W Shell because I suppose that Deepness is using QGIS ressources (there are more than one Python on my computer ).
When I clicked Install Packages after installing Deepness 0.6.4, it said many things and finishes with that :

  	Installing collected packages: mpmath, flatbuffers, sympy, pyreadline3, protobuf, packaging, numpy, opencv-python-headless, humanfriendly, coloredlogs, onnxruntime
  	**ERROR**: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
  	pandas 2.0.2 requires python-dateutil>=2.8.2, but you have python-dateutil 2.8.1 which is incompatible.
  	scipy 1.10.1 requires numpy=1.19.5, but you have numpy 2.0.2 which is incompatible.
  	Successfully installed coloredlogs-15.0.1 flatbuffers-24.3.25 humanfriendly-10.0 mpmath-1.3.0 numpy-2.0.2 onnxruntime-1.17.0 opencv-python-headless-4.9.0.80 packaging-24.2 protobuf-5.28.3 pyreadline3-3.5.4 sympy-1.13.3
  	[notice] A new release of pip is available: 24.0 -> 24.3.1
  	[notice] To update, run: python.exe -m pip install --upgrade pip
  	
  	Packages installed correctly!

so I supposed it was not really correct for pandas, scipy, numpy.

First thing I updated pip 👍 python.exe -m pip install --upgrade pip
Then dateutil : pip install python-dateutil -U
but it got python-dateutil 2.9.0 and not 2.8.2
So I updated pandas : pip install pandas -U which went from 2.0.2 to 2.2.3
I updated also scipy : pip install scipy -U which came from 1.10.1 to 1.13.1
Then I tried Deepness and it worked... maybe it would have work from the beginning, but in fact I didn't try that.

Hope it helps.

@mraduca
Copy link
Author

mraduca commented Dec 16, 2024

Hi,

Just found a vidéo in spanish that correct the problem on MAC: https://youtu.be/kWplkzpC3mQ?si=kwbuz2Rw-PDJBQqG

Thanks!

@mraduca
Copy link
Author

mraduca commented Dec 20, 2024

Hi,

I'm trying to make my own model with the instructions made to use without code ROboflow and Ultralitics. I'm trying to make a model to segment the common read, an invasive alien plant. When I try to load the ONNX model I have this error.
Capture d’écran, le 2024-12-19 à 21 16 23

I've tried other personal models to detect and it works well, but the segment type does not work.

Thank you!

@AlainFELER
Copy link

Hello, In Python list index out of range means that the program try to access something like the 4th item of a list of 3 : for instance there is somewhere a list of classes like {"snow","water","sand"} indexed 0,1,2 and the program tries to find "ice" in it or the index 3. I don't know how that can apply to your problem... Yours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants