我正在将 anaconda 用于 geopandas。但是,每次我尝试使用 epsg:4326: 时,都会出错。
CRSError: Invalid projection: epsg:4326: (Internal Proj Error: proj_create: SQLite error on SELECT name, type, coordinate_system_auth_name, coordinate_system_code, datum_auth_name, datum_code, area_of_use_auth_name, area_of_use_code, text_definition, deprecated FROM geodetic_crs WHERE auth_name = ? AND code = ?: no such column: area_of_use_auth_name)
我怎么解决这个问题?
我试过了:
from functools import partial
from pyproj import Proj, transform
proj_4326 = Proj(init="epsg:4326")
proj_3857 = Proj(init="epsg:3857")
我还尝试重置环境:
conda update anaconda
但他们都给出了相同的 CRSError
我的版本是:
import sys
import pyproj
import geopandas
print(sys.version)
print(pyproj.__version__)
print(geopandas.__version__)
3.8.5 (default, Sep 4 2020, 02:22:02)
[Clang 10.0.0 ]
2.6.1.post1
0.8.2
我该如何解决这个问题?