Modulenotfounderror: No Module Named 'skimage.util.montage'
I'm trying to import montage2d module from scikit-image: from skimage.util.montage import montage2d But this error popped up: ModuleNotFoundError: No module named 'skimage.util.mon
Solution 1:
In scikit-image=0.14.0
skimage.util.montage.
namespace has been removed, montage2d
function has been deprecated and moved to skimage.util.montage2d
.
For more info, see the release notes for the version 0.14.0
- https://github.com/scikit-image/scikit-image/blob/master/doc/release/release_0.14.rst.
Solution 2:
To get rid of editing from a lot of lines, I used to import in this manner,
from skimage.utilimport montage as montage2d
Also, you can change the version as described above.
Post a Comment for "Modulenotfounderror: No Module Named 'skimage.util.montage'"