import geopandas as gpd
import contextily as ctx
import pyproj
from mpl_toolkits.axes_grid1.inset_locator import inset_axes
crs_4326 = pyproj.CRS('EPSG:4326') # Latitude Longitude system
crs_3857 = pyproj.CRS('EPSG:3857') # Marcetorsystem
used this command to download pyproj: use conda install -c conda-forge pyproj
Just had the same issue. I was using pyproj version 2.6.0
Updating the package to latest version available solved it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.