no model named shapefile

使用arcpy批处理时,经常使用shapefile.reader等包,但直接import shapefile 模块却报错。原因是shapefile在模块pyshp中,因此导入包pyshp后,import pyshp即可。

转载自:https://blog.csdn.net/weixin_42059534/article/details/89153951

You may also like...

退出移动版