I received deprecation err or (related to numpy.array, dtype= datetime64[ns]) while ingesting . hence, i updated all the packages. Now i started from beginning by again adding the product type and i am unble to add. i am getting the following error.
**(cubeenv) D:\datacube-core-develop>datacube product add D:\datacube-core-develop
\docs\config_samples\dataset_types\ls5LITP.yaml
Traceback (most recent call last):
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init.py",
line 570, in _build_master
ws.require(requires)
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init__.py",
line 888, in require
needed = self.resolve(parse_requirements(requirements))
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources\init__.py",
line 779, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.VersionConflict: (datacube 1.5.4 (d:\data_cube\envs\cubeenv\lib\si
te-packages), Requirement.parse('datacube==0+unknown'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\DATA_CUBE\envs\cubeenv\Scripts\datacube-script.py", line 6, in <modul
e>
from pkg_resources import load_entry_point
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init.py",
line 3095, in
@_call_aside
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init.py",
line 3079, in _call_aside
f(*args, **kwargs)
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init__.py",
line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources\init__.py",
line 572, in _build_master
return cls._build_from_requirements(requires)
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init__.py",
line 585, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources\init__.py",
line 774, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'affine' distribution was not found and
is required by datacube, rasterio**
I received deprecation err or (related to numpy.array, dtype= datetime64[ns]) while ingesting . hence, i updated all the packages. Now i started from beginning by again adding the product type and i am unble to add. i am getting the following error. **(cubeenv) D:\datacube-core-develop>datacube product add D:\datacube-core-develop \docs\config_samples\dataset_types\ls5LITP.yaml Traceback (most recent call last): File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init.py", line 570, in _build_master ws.require(requires) File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init__.py", line 888, in require needed = self.resolve(parse_requirements(requirements)) File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources\init__.py", line 779, in resolve raise VersionConflict(dist, req).with_context(dependent_req) pkg_resources.VersionConflict: (datacube 1.5.4 (d:\data_cube\envs\cubeenv\lib\si te-packages), Requirement.parse('datacube==0+unknown'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "D:\DATA_CUBE\envs\cubeenv\Scripts\datacube-script.py", line 6, in <modul e> from pkg_resources import load_entry_point File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init.py", line 3095, in
@_call_aside
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init.py",
line 3079, in _call_aside
f(*args, **kwargs)
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init__.py",
line 3108, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources\init__.py",
line 572, in _build_master
return cls._build_from_requirements( requires)
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources__init__.py",
line 585, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "D:\DATA_CUBE\envs\cubeenv\lib\site-packages\pkg_resources\init__.py",
line 774, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'affine' distribution was not found and
is required by datacube, rasterio**