Trouble importing filters using skimage

五迷三道 提交于 2019-12-06 14:02:39

Try

from skimage import filter

instead of

from skimage import filters

I was getting the same error and it was solved

Try

pip install -U scikit-image

The problem is with the version of scikit-image. In skimage '0.10.1' there is no module named 'filters' as it has 'filter'. So upgrade it using the command 'sudo pip install --upgrade scikit-image' and it will be upgraded to version '0.13.1' which contains module 'filters' and not 'filter'.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!