lisflood-code icon indicating copy to clipboard operation
lisflood-code copied to clipboard

GDAL Error for Windows

Open Sailor596 opened this issue 1 year ago • 1 comments

I have tried for installing LISFLOOD, but I failed. I always encounter the "gdal" error. There have been users who encountered and solved the same error before. Could you please help?

I am doing this in Windows10 and python 3.8 environment. I have even installed GDAL from https://sandbox.idre.ucla.edu/sandbox/tutorials/installing-gdal-for-windows.

Error

Sailor596 avatar Aug 14 '22 16:08 Sailor596

Dear Sailor596, thanks for reaching out. As written in an important note in the read.me page of Lisflood code, the installation of Lisflood in a virtual env like conda in windows OS is difficult because of libraries availability but also because you might want to leverage compilation for the routing parallel component. The note is here https://github.com/ec-jrc/lisflood-code#important-note . To test the model you could use docker option described in the readme file. Alternatively, Win10 offers also the possibility to run a Linux box . If you achieve that you can successfully install conda and gdal without conflicts as you were doing. I hope this helps. Thanks, Valerio

valeriolorini avatar Aug 15 '22 09:08 valeriolorini