使用arcpy批处理时,经常使用shapefile.reader等包,但直接import shapefile 模块却报错。原因是shapefile在模块pyshp中,因此导入包pyshp后,import pyshp即可。
no model named shapefile
最新推荐文章于 2024-12-10 21:08:21 发布
使用arcpy批处理时,经常使用shapefile.reader等包,但直接import shapefile 模块却报错。原因是shapefile在模块pyshp中,因此导入包pyshp后,import pyshp即可。