GDAL in pycharm venv

Hi folks,

I'm not sure if this is a pycharm issue, but i'm getting the following errors when trying to write rasters following the rasterio example (https://automating-gis-processes.github.io/CSC18/lessons/L6/raster-mosaic.html):

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_as_wkt: Cannot find proj.db

I installed GDAL 3.0.1 and rasterio 1.0.27 under Python 3.6 from https://www.lfd.uci.edu/~gohlke/pythonlibs/#rasterio under my pycharm project's venv.  I've set PROJ_LIB to various paths, including the path inside the venv and nothing, all to no avail.  Is this a pycharm venv issue somehow, or is there likely something else going on?  Any help greatly appreciated.

1 comment
Comment actions Permalink

Hi,

You can determine if the issue is IDE-related by running your code from the terminal without using IDE.

0

Please sign in to leave a comment.