错误:`imsave’ is deprecated in SciPy 1.0.0, and will be removed in 1.2.0.解决方法
方法:使用imageio.imwrite()函数代替
imageio.imwrite()
接下可能出现这个错误
AttributeError: module ‘scipy.misc’ has no attribute 'imageio’的解决方法
删掉之前`imsave’的头文件,
添加头文件
import imageio
from PIL import Image #PIL pakage name is Pillow