cube-in-a-box icon indicating copy to clipboard operation
cube-in-a-box copied to clipboard

Failed to resolve driver warnings/errors

Open gary-downforce opened this issue 3 years ago • 2 comments

Hi,

I'm on Arch Linux with docker, docker-compose and make installed/working.

Docker version 20.10.10, build b485636f4b
Docker Compose version 2.1.1
GNU Make 4.3

Running make setup or make setup-prod result in lots of these errors in the output.

11/11/2021 04:13:25: WARNING: Failed to resolve driver datacube.plugins.index::default
11/11/2021 04:13:25: WARNING: Error was: ContextualVersionConflict(pyparsing 3.0.5 (/usr/local/lib/python3.8/dist-packages), Requirement.parse('pyparsing<3,>=2.0.2'), {'packaging'})

The cube-in-a-box starts anyway and I am able to load up Jupyter at http://localhost. However, I get the following errors in Sentinel_2.ipynb when running it in Jupyter.

Failed to resolve driver datacube.plugins.io.read::netcdf
Error was: ContextualVersionConflict(pyparsing 3.0.5 (/usr/local/lib/python3.8/dist-packages), Requirement.parse('pyparsing<3,>=2.0.2'), {'packaging'})
CPLReleaseMutex: Error = 1 (Operation not permitted)

Thanks

gary-downforce avatar Nov 11 '21 16:11 gary-downforce

I solved this by adding pyparsing==2.4.7 on the requirements.txt.

lvhengani avatar Nov 12 '21 18:11 lvhengani

Thanks, I tried that but just get different errors. Not sure if that's a separate issue or part of this one.

gary-downforce avatar Nov 15 '21 08:11 gary-downforce