digitalearthafrica / deafrica-sandbox-notebooks

Repository for Digital Earth Africa Sandbox, including: Jupyter notebooks, scripts, tools and workflows for geospatial analysis with Open Data Cube and xarray
Apache License 2.0
181 stars 131 forks source link

435.8 ERROR: Package 'deafrica-tools-2.3.2' requires a different Python: 3.8.10 not in '<3.12,>=3.9' #488

Closed AimAlee closed 9 months ago

AimAlee commented 11 months ago

Hi everyone,

Facing the below issue please help to resolve. Thank you.

435.8 ERROR: Package 'deafrica-tools-2.3.2' requires a different Python: 3.8.10 not in '<3.12,>=3.9'

failed to solve: process "/bin/sh -c cd /tmp && git clone --depth 1 https://github.com/digitalearthafrica/deafrica-sandbox-notebooks.git && pip install deafrica-sandbox-notebooks/Tools && rm -rf /tmp/deafrica-sandbox-notebooks" did not complete successfully: exit code: 1

nanaboamah89 commented 11 months ago

Hi @AimAlee, I want to understand the error. Are you trying to install the packages on your system, or are you using DE Africa Sandbox, and these errors are coming up?

AimAlee commented 11 months ago

Hi @AimAlee, I want to understand the error. Are you trying to install the packages on your system, or are you using DE Africa Sandbox, and these errors are coming up?

yes I am installing Opendatacube/Cube in the Box using powershell in windows 10. Command "docker-compose up".

AimAlee commented 11 months ago

Screenshot (177)

nanaboamah89 commented 11 months ago

OK, @AimAlee, we would investigate that, the last time I did install the cube in the box was on Linux.

AimAlee commented 11 months ago

Hi @AimAlee, I want to understand the error. Are you trying to install the packages on your system, or are you using DE Africa Sandbox, and these errors are coming up?

Trying/following this (https://www.youtube.com/watch?v=GmqAaSX9xsk&t=58s)

AimAlee commented 11 months ago

OK, @AimAlee, we would investigate that, the last time I did install the cube in the box was on Linux.

thank you for your support

AimAlee commented 11 months ago

OK, @AimAlee, we would investigate that, the last time I did install the cube in the box was on Linux.

Using ubuntu terminal on windows 10 will be fine to install cube in the box? if yes please share the documentation to install same please.

vikineema commented 11 months ago

Hello @AimAlee . The deafrica-tools require a minimum python version of 3.9. You can try install cube-in-a-box using the instructions here https://github.com/vikineema/cube-in-a-box-deafrica/tree/update-python . The repo is an updated fork of DE Africa's version of cube-in-a-box repository