Opened 3 months ago

Closed 8 days ago

#2441 closed defect (fixed)

VMDK python3 datacube demo broken

Reported by: darkblueb Owned by: osgeolive@…
Priority: critical Milestone: OSGeoLive16.0
Component: OSGeoLive Keywords: python, datacube
Cc: osgeolive@…


import datacube
ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
rasterio/crs.pyx in
/usr/lib/python3/dist-packages/datacube/utils/geometry/ in <module>
---> 14 _WRP_CRS =

Attachments (2)

Screenshot_20230823_151546.png (65.0 KB ) - added by kalxas 3 months ago.
Screenshot_20231126_120333.png (38.1 KB ) - added by kalxas 9 days ago.

Download all attachments as: .zip

Change history (11)

comment:1 by darkblueb, 3 months ago

confirm this is not broken in ISO rc1

comment:2 by darkblueb, 3 months ago

to recreate the bug

1) terminal window $ ipython3

2) import datacube

comment:3 by kalxas, 3 months ago

The VM build log is located at /var/log/osgeolive/

Wondering if the actinia installer actually worked in virtualenv, a rasterio version was pulled by pip in logs.

comment:4 by kalxas, 3 months ago

Cc: osgeolive@… added

by kalxas, 3 months ago

comment:5 by kalxas, 3 months ago

Looks like virtualenv for actinia is fine (see screenshot)

comment:6 by kalxas, 9 days ago

Looks like this issue is still present in rc2.

Maybe it is related to a system patch, needs to be investigated.

by kalxas, 9 days ago

comment:7 by kalxas, 9 days ago

There seems to be a mismatch between PROJ_LIB environment variable and the actual folder containing proj.db

comment:8 by kalxas, 9 days ago

Found the culprit:

Latest system update included python3-ecmwflibs

After removing this package, importing datacube works fine.

comment:9 by kalxas, 8 days ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.