Forums

ImportError: cannot import name 'metrics' from 'skimage'

Hello there can any one help me why this import error is happening?

from skimage import metrics as skimage_metrics

ImportError: cannot import name 'metrics' from 'skimage'

Make sure that you're using a version of skimage that includes metrics. You can check the version of skiimage with:

import skimage
print(skimage.__version__)

:) thank you, it was very helpful