'module 'skimage.filters' has no attribute 'gaussian_filter'
I'm trying to run this example, but getting the following error:
AttributeError: module 'skimage.filters' has no attribute 'gaussian_filter'
I checked the documentation, here, and see that filters
has gaussian_filter
. What might be wrong?
Thanks.
Solution 1:[1]
gaussian_filter
has been removed in skimage 0.14.0 (see the release notes - http://scikit-image.org/docs/stable/api_changes.html). You should now use skimage.filters.gaussian
(http://scikit-image.org/docs/0.14.x/api/skimage.filters.html#skimage.filters.gaussian).
Solution 2:[2]
I had a similar problem with the mahotas module, which was because of the version. Un-installed and re-installed an older version resolved the problem
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | soupault |
Solution 2 | Anonymous |