报错原因:skimage的版本问题(我原本的scikit-image是0.16.2) 解决方案: 安装0.18.2(或以上)的scikit-image pip install scikit-image==0.18.2