AttributeError: module ‘numpy.random‘ has no attribute ‘default_rng‘
AttributeError: module 'numpy.random' has no attribute 'default_rng'>>> import numpy>>> numpy.__version__'1.16.4'>>>解决:$ pip install --upgrade numpyRequirement already satisfied: numpy in