Using GDAL, an error occurs suddenly:
ERROR 1: PROJ: createGeodeticReferenceFrame: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: createGeodeticReferenceFrame: Cannot find proj.db ERROR 1: PROJ: pj_obj_create: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: pj_obj_create: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_as_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_wkt: Cannot find proj.db ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db
Solution:
Add these codes below at the header of your codes.
import os os.environ['PROJ_LIB'] = r'D:\Anaconda3\envs\tf14\Library\share\proj'
Read More:
- [Mac Pro M1] Python3.9 import cv2 Error: Reason: image not found
- [Solved] wxauto error: ImportError: DLL load failed while importing win32gui: Can’t find the specified program
- How to Solve Python Importerror: DLL load failed: unable to find the specified program using tensorflow
- [Solved] UserWarning: mkl-service package failed to import, therefore Intel(R) MKL initialization ensuring it
- Python PIP TypeError: expected str, bytes or os.PathLike object, not int
- Jupyter notebook Failed to Switch to the Virual Environment: DLL load failed python.exe could not find the entry
- ImportError: DLL load failed while importing _multiarray_umath: The specified module could not be found.
- ERROR: Failed building wheel for osgeo [How to Solve]
- How to Solve Spyder Version incompatible error
- [Solved] socketio.exceptions.ConnectionError: OPEN packet not returned by server
- [Solved] bert_as_service startup error: Tensorflow 2.1.0 is not tested!
- [Solved] pyhive error: Could not start SASL: b’Error in sasl_client_start (-4) SASL(-4)
- [Solved] mmdetection benchmark.py Error: RuntimeError: Distributed package doesn‘t have NCCL built in
- onnx error: ImportError: /home/dy/anaconda3/envs/torch/lib/python3.6/site-packages/onnx…
- [Solved] Python matplotlib Error: RuntimeError: In set_size: Could not set the fontsize…
- [Solved] Failed environment install leads to “unable to create process using“ error
- [Solved] modulenotfounderror: no module named ‘torchtext.legacy.data.datasets_ utils‘
- [Solved] AttributeError: module ‘distutils‘ has no attribute ‘version‘
- VScode import numpy Error: DLL load failed [How to Solve]
- Python Error: mongod: error while loading shared libraries: libcrypto.so.1.1