【python_error】AttributeError: module ‘numpy‘ has no attribute ‘dtype‘

报错:AttributeError: module 'numpy' has no attribute 'dtype' 原因:我new了一个.py文件叫numpy.py,与numpy模块冲突了,5555555,我还以为是装了CV2,CV2给我重装了numpy,版本降低,又把numpy卸载了重装……后面发现自己憨憨55555 解决方法:重命名文件后,运行正常。检查是否XXXXXXXX.py文件与库中安
相关文章
相关标签/搜索