AttributeError:module ‘numpy‘ has no attribute ‘nancumprod‘

问题:

在import skimage这个包时,报错AttributeError:module 'numpy' has no attribute 'nancumprod'

AttributeError:module ‘numpy‘ has no attribute ‘nancumprod‘_第1张图片

怀疑:

skimage的依赖包numpy的版本不符合

解决:

把numpy从1.11.3升级到1.13.3。

AttributeError:module ‘numpy‘ has no attribute ‘nancumprod‘_第2张图片

AttributeError:module ‘numpy‘ has no attribute ‘nancumprod‘_第3张图片

 

 

 

 

 

但是, 

在使用skimage其他功能时,又报其他错,目前还未解决,但我怀疑依然是包的版本不对。

AttributeError:module ‘numpy‘ has no attribute ‘nancumprod‘_第4张图片

 

 

 

 

你可能感兴趣的:(coding小记,pytorch,skimage,numpy)