cnr-isti-vclab / TagLab

A CNN based image segmentation tool oriented to marine data analysis
https://taglab.isti.cnr.it/
GNU General Public License v3.0
84 stars 33 forks source link

Problem with Osgeo when instaling TagLab #127

Closed nirivas closed 8 months ago

nirivas commented 10 months ago

I keep getting this error when trying to install taglab. I am using Python 3.9.13 which works on another computer. Any ideas on how I can fix?

Traceback (most recent call last): File "C:\TagLab-main\install.py", line 275, in gdal_is_installed = importutil.find_spec("osgeo.gdal") File "C:\Users\vbautist\AppData\Local\Programs\Python\Python39\lib\importlib\util.py", line 94, in find_spec parent = import(parent_name, fromlist=['path']) ModuleNotFoundError: No module named 'osgeo'

Jordan-Pierce commented 10 months ago

Hi @nirivas, see this discussion link, it may be of use. I found it was easier to install GDAL and Rasterio (applicable versions) before running the TagLab install script.

nirivas commented 10 months ago

It worked! Thanks, I had tried installing separately but most likely the wrong version. I appreciate it!