I was trying some code segment,
from scipy import misc
im = misc.imread(file_image, True)
However, I got the error message such as
AttributeError: module 'scipy.misc' has no attribute 'imread'
What can be the reason of this?
I was trying some code segment,
from scipy import misc
im = misc.imread(file_image, True)
However, I got the error message such as
AttributeError: module 'scipy.misc' has no attribute 'imread'
What can be the reason of this?
 
    
    This is because imread was discontinued by scipy as of 1.2.0, to solve it you can either install Pillow with
    pip install Pillow
or downgrade to 1.1.0 with
    pip install scipy==1.1.0
