afruizh / TreeEyed

A QGIS plugin for tree monitoring using AI.
https://treeeyed.readthedocs.io/en/latest/
Apache License 2.0
6 stars 0 forks source link

No module named 'gdown' #1

Open gowestgis opened 1 week ago

gowestgis commented 1 week ago

I am using QGIS 3.28.9-Firenze on a Windows 11 machine. When I install the TreeEyed plugin, it prompts me to install additional Python packages. I say 'yes' and when it completes the Log file sshows it was successful but, then when I click on the TreeEyed plugin icon to run it, it again says 'Additional python packages are required to use this plugin. I say 'yes' again and then it fails and I get the following messages in the Log file:

2024-10-31T19:57:43 WARNING checking packages 2024-10-31T19:57:43 CRITICAL Dependencies could not be imported 2024-10-31T19:57:43 CRITICAL No module named 'gdown' 2024-10-31T19:57:48 WARNING Installing additional packages canceled 2024-10-31T20:02:22 WARNING checking packages 2024-10-31T20:02:22 CRITICAL Dependencies could not be imported 2024-10-31T20:02:22 CRITICAL No module named 'gdown'

If I look in the TreeEyed plugin dependencies folder (C:\Users\xxx\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\tree_eyed\dependencies), there are folders named 'gdown' and 'gdown-5.2.0.dist-info'.

In the gdown folder: gdown_folder\

In the gdown-5.2.0.dist-info folder: gdowndist_folder

Could you please advise on how I can resolve this issue. Thank you.

afruizh commented 3 days ago

Thanks. I was able to reproduce it. It seems an additional QGIS restart is required after installing the python dependencies and downloading the models. I'll update the installation process. Are you able to use the plugin after restarting QGIS?