I need to do some spatial operations in geopandas. I created the new conda environment and installed geopandas conda install --channel conda-forge geopandas
. When I run the following simple code:
import geopandas as gpd
from shapely.geometry import Point
gdf = gpd.GeoDataFrame([Point(1,1)])
gdf.set_geometry(0).set_crs(epsg=3857)
I get the following error message :
CRSError: Invalid projection: EPSG:3857: (Internal Proj Error: proj_create: no database context specified)
I tried to google the issue. There are several posts, yet I could not find the right solution. It seems that there is a problem with pyproj database. That's what I understood so far.
Any solutions?
Thanks in advance!