程序報錯:
AttributeError: module 'scipy.misc' has no attribute 'imresize'
解決方法:
降低scipy的版本
pip uninstall scipy #卸載已安裝的
pip install scipy==1.10 #安裝低版本的
AttributeError: module 'scipy.misc' has no attribute 'imresize'
降低scipy的版本
pip uninstall scipy #卸載已安裝的
pip install scipy==1.10 #安裝低版本的
這個錯誤應該是虛擬機關閉的時候出現異常導致的。研究了很久都沒法解決,只有重新建一個虛擬機,把原虛擬機的硬盤文件*.vmdk加載進去,解決。