Perfect solution AttributeError: module 'scipy.misc' has no attribute 'imread' error problem

Reprint:

https://blog.csdn.net/TeFuirnever/article/details/90760179

The recent emergence of this error when running the code --AttributeError: module 'scipy.misc' has no attribute 'imread'.
After you have reviewed the information found online, most of the solutions are not installed PIL said that third-party libraries, library name is now Pillow, recommended the use of direct command pip install Pillow installation, but my question has not been resolved, or continue error AttributeError : module 'scipy.misc' has no attribute 'imread'.
After inquiries and try to find a version of the problem scipy, downgraded to scipy == 1.2.1 can be the perfect solution.
Command is as follows:
PIP install SciPy == 1.2.1

 

 


----------------
Disclaimer: This article is CSDN blogger, "I am a small light tube :) 'original article, follow the CC 4.0 BY-SA copyright agreements, please attach a reprint the original source link and this statement.
Original link: https: //blog.csdn.net/TeFuirnever/article/details/90760179

Guess you like

Origin www.cnblogs.com/rainsoul/p/12102464.html