Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python geopandas用shapefile分割断层_Python_Pandas_Shapefile_Geopandas - Fatal编程技术网

Python geopandas用shapefile分割断层

Python geopandas用shapefile分割断层,python,pandas,shapefile,geopandas,Python,Pandas,Shapefile,Geopandas,我正在尝试使用geopandas,但正在努力修复此分段错误。我正在使用,但我找不到一个在线解决方案。如果需要,我可以提供我的康达列表 >>> import geopandas as gpd >>> fp = 'cb_2018_us_state_20m/cb_2018_us_state_20m.shp' >>> contiguous_usa = gpd.read_file(fp) [2] 2258 segmentation fault

我正在尝试使用geopandas,但正在努力修复此分段错误。我正在使用,但我找不到一个在线解决方案。如果需要,我可以提供我的康达列表

>>> import geopandas as gpd
>>> fp = 'cb_2018_us_state_20m/cb_2018_us_state_20m.shp'
>>> contiguous_usa = gpd.read_file(fp)
[2]    2258 segmentation fault  python

你能发布那个
conda列表吗?@marinfleis我不确定分享大片段的最佳方式是什么,所以我把它放到谷歌文档中,尝试从
conda forge
频道重新安装geopandas
conda安装-c conda forge geopandas
你能发布
conda list
吗?@marinfleis我不确定分享大片段的最佳方式是什么,所以我通过它进入谷歌文档,尝试从
conda forge
频道重新安装geopandas<代码>conda安装-c conda forge geopandas