我是靠谱客的博主 冷酷白开水,这篇文章主要介绍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 numpy
Requirement already satisfied: numpy in /....../python3.6/site-packages (1.16.4)
Collecting numpy
  Downloading numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl (14.8 MB)

最后

以上就是冷酷白开水最近收集整理的关于AttributeError: module ‘numpy.random‘ has no attribute ‘default_rng‘的全部内容,更多相关AttributeError:内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(136)

评论列表共有 0 条评论

立即
投稿
返回
顶部