import numpy报错python里AttributeError: module 'numpy' has no attribute 'ndarray'
这个问题废了我好大的劲,报错时numpy的版本是1.19.4,解决方法是卸载当前版本,重装1.19.3
pip uninstall numpy
pip install numpy-1.19.3
然后报错就消失了
这个问题废了我好大的劲,报错时numpy的版本是1.19.4,解决方法是卸载当前版本,重装1.19.3
pip uninstall numpy
pip install numpy-1.19.3
然后报错就消失了