Closed saheelBreezo closed 4 years ago
Hi @saheelBreezo ,
There seems to be an error in the README - you should set the VERSION=2.0.0, rather than 1.2.0.
It's trying to use the 1.2.0 version of the GeoLambda base layer (which is GDAL 2.4.1) but then trying to install GDAL bindings for GDAL 3.0.1.
Let me know if that works!
Hey @matthewhanson , Thanks a lot it worked. Also noticed that the Dockerfile also has the default set to 1.2.0
Successfully installed GDAL-3.0.1 affine-2.3.0 attrs-19.3.0 click-7.0 click-plugins-1.1.1 cligj-0.5.0 pyparsing-2.4.5 pyproj-2.4.0 rasterio-1.1.0 shapely-1.6.4.post2 snuggs-1.4.7
Removing intermediate container 724568cf36d1
---> f900455310f6
Step 10/10 : COPY bin/* /usr/local/bin/
---> a55d2cf7c811
Successfully built a55d2cf7c811
Successfully tagged geo-lambda:latest
Thanks @saheelBreezo for pointing this out, I've fixed this on develop with https://github.com/developmentseed/geolambda/commit/deaab242ceb8587783722826714b31aea146e800
I'll publish a new version when there's some changes to package versions, or #79 is resolved.
Summary of the bug/issue.
Python GeoLambda Readme Installation fails while installing GDAL. The GDAL version it is trying to install is 3.0.1
Steps to reproduce the bug.
Following the installation instructions from the README.
VERSION=1.2.0
docker build . --build-arg VERSION=${VERSION} --build-arg PYVERSION=3.6.8 -t geo-lambda:latest
Buggy behaviour and/or error message
Environment Information