ImportError: cannot import name ‘imresize‘

created at 10-05-2021 views: 26

reason

scipy version problem, the advanced version no longer includes the function imresize, the explanation and solution given on the official website are as follows:

imresize is deprecated! imresize is deprecated in SciPy 1.0.0, and will be removed in 1.3.0. Use Pillow instead: numpy.array(Image.fromarray(arr).resize()).

solution

pip install scipy==1.1.0 
created at:10-05-2021
edited at: 10-05-2021: