Is there a way to import compare_ssim for python IDLE?

Solution 1:

As per - https://github.com/scikit-image/scikit-image/blob/b38fd6f02917db2965f5faf2e6e18fc197b8d6c8/skimage/metrics/_structural_similarity.py#L17

versionchanged:: 0.16 This function was renamed from skimage.measure.compare_ssim to skimage.metrics.structural_similarity