Python in from scipy.misc import imread error causes?

from scipy.misc import imread 报错

The reason is that the query from scipy.misc import imread, imwrite other methods have been abandoned, the Python method has been encapsulated in imread module which imageio

Solution as follows:

Installation imageio library

Use pip install imageio

import imageio

imageio.imread("xxxx.png")

Guess you like

Origin www.cnblogs.com/Yanjy-OnlyOne/p/12032030.html