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
Hi @LooperzZ , could you please provide more details on what you r are trying to do, and ideally a code snippet that allows us to reproduce this error? Thank you!
C:\software\Anaconda3\envs\pytorch_gpu\lib\site-packages\nansat-1.5.3-py3.7-win-amd64.egg\nansat_init_.py:35: UserWarning: Cannot register C pixel functions!
Either nansat was not installed using setup.py or
pixel functions were not compiled automatically.
For development, use "python setup.py build_ext --inplace"
to compile pixel functions manually into the source tree.
''')
DLL load failed: 找不到指定的模块。
Traceback (most recent call last):
File "D:\Python_code\sea_ice_drift-master\examples\simple.py", line 27, in
from sea_ice_drift import SeaIceDrift
File "D:\Python_code\sea_ice_drift-master\sea_ice_drift_init_.py", line 3, in
from sea_ice_drift.lib import (get_uint8_image,
File "D:\Python_code\sea_ice_drift-master\sea_ice_drift\lib.py", line 375, in
def get_drift_vectors(n1, x1, y1, n2, x2, y2, nsr=NSR(), **kwargs):
File "C:\software\Anaconda3\envs\pytorch_gpu\lib\site-packages\nansat-1.5.3-py3.7-win-amd64.egg\nansat\nsr.py", line 65, in init
self.ImportFromEPSG(4326)
File "C:\software\Anaconda3\envs\pytorch_gpu\lib\site-packages\osgeo\osr.py", line 772, in ImportFromEPSG
return _osr.SpatialReference_ImportFromEPSG(self, *args)
RuntimeError: PROJ: proj_create_from_database: C:\software\Anaconda3\envs\pytorch_gpu\Library\share\proj\proj.db lacks DATABASE.LAYOUT.VERSION.MAJOR / DATABASE.LAYOUT.VERSION.MINOR metadata. It comes from another PROJ installation.
It seems you have a problem with your installation of the PROJ library. Most likely, you have multiple versions of PROJ installed and GDAL is not using the right one.
Maybe you can fix it by setting the PROJ_LIB environment variable to the path to the right proj.db file (see https://gdal.org/drivers/raster/gtiff.html#georeferencing).
No description provided.
The text was updated successfully, but these errors were encountered: