gpt4 book ai didi

python - AttributeError : module 'scipy.misc' has no attribute 'imread'

转载 作者:行者123 更新时间:2023-12-03 08:09:36 25 4
gpt4 key购买 nike

我得到这个错误AttributeError: module 'scipy.misc' has no attribute 'imread'我已经安装并导入了“scipy”和“枕头”。为什么我仍然遇到这个问题?

最佳答案

scipy.misc.imread在SciPy 1.0.0中已弃用,在Scipy 1.2.0中已删除。该文档建议改用imageio.imread

https://docs.scipy.org/doc/scipy-1.2.1/reference/generated/scipy.misc.imread.html

关于python - AttributeError : module 'scipy.misc' has no attribute 'imread' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61483222/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com