AttributeError: module ‘scipy.misc’ has no attribute 'toimage’报错 这是因为当前环境没有安装PIL库,库名现在为Pillow;可通过pip或者conda安装; pip install Pillow或者conda install Pillow