请问在使用python包geopandas的时候,报出以下错误,”Invalid projection: epsg:4326: (Internal Proj Error: proj_create: SQLite error on SELECT name, typ
e, coordinate_system_auth_name, coordinate_system_code, datum_auth_name, datum_code, area_of_use_auth_name, area_of_use_code, text_definitio
n, deprecated FROM geodetic_crs WHERE auth_name = ? AND code = ?: no such column: area_of_use_auth_name)”
尝试解决的方法有::把pyproj库卸载了重装,但是没有成功。我当前的pyproj的版本是:2.6.1.post1
import geopandas as gpd
import matplotlib.pyplot as plt
#设置matplotlib绘图模式为嵌入式
%matplotlib inline
#设置全文中的字体为黑体
plt.rcParams['font.family']='SimHei'
china=gpd.read_file('G:\\学习\\python学习\\geopandas\\基于geopandas的空间数据分析系列文章附件\\
(数据科学学习手札78)基于geopandas的空间数据分析——基础可视化\\china-shapefiles\\china.shp',encoding='utf-8')
#由于每行是单独的面,所以需要对数据进行融合
China=china.dissolve(by='OWNER').reset_index(drop=False)
#读入海南九段的数据
nine_lines=gpd.read_file('G:\\学习\\python学习\\geopandas\\基于geopandas的空间数据分析系列文章附件\\
(数据科学学习手札78)基于geopandas的空间数据分析——基础可视化\\china-shapefiles\\china_nine_dotted_line.shp',encoding='utf-8')
#报出的错误如下:
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)