You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The numpy version needs to be upgraded numpy==1.24 otherwise make setup won't compile because of the following error (on Python 3.8):
docker-compose exec -T jupyter datacube -v system init
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/dask/array/__init__.py", line 2, in <module>
from dask.array import backends, fft, lib, linalg, ma, overlap, random
File "/usr/local/lib/python3.8/dist-packages/dask/array/backends.py", line 6, in <module>
from dask.array.core import Array
File "/usr/local/lib/python3.8/dist-packages/dask/array/core.py", line 30, in <module>
from numpy.typing import ArrayLike
ModuleNotFoundError: No module named 'numpy.typing'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/bin/datacube", line 5, in <module>
from datacube.scripts.cli_app import cli
File "/usr/local/lib/python3.8/dist-packages/datacube/__init__.py", line 29, in <module>
from .api import Datacube
File "/usr/local/lib/python3.8/dist-packages/datacube/api/__init__.py", line 9, in <module>
from .core import Datacube, TerminateCurrentLoad
File "/usr/local/lib/python3.8/dist-packages/datacube/api/core.py", line 13, in <module>
from dask import array as da
File "/usr/local/lib/python3.8/dist-packages/dask/array/__init__.py", line 271, in <module>
raise ImportError(str(e) + "\n\n" + msg) from e
ImportError: No module named 'numpy.typing'
Dask array requirements are not installed.
Please either conda or pip install as follows:
conda install dask # either conda install
python -m pip install "dask[array]" --upgrade # or python -m pip install
The text was updated successfully, but these errors were encountered:
The numpy version needs to be upgraded
numpy==1.24
otherwisemake setup
won't compile because of the following error (on Python 3.8):The text was updated successfully, but these errors were encountered: