ModuleNotFoundError: No module named 'numpy.random.Generator'
收藏
快速回复
AI Studio平台使用 问答Notebook项目 344 2
ModuleNotFoundError: No module named 'numpy.random.Generator'
收藏
快速回复
AI Studio平台使用 问答Notebook项目 344 2

为什么会出现这种情况呢?

0
收藏
回复
全部评论(2)
时间顺序
DeepGeGe
#2 回复于2022-04

我用numpy都是直接用import numpy as np,没有像你这样import numpy.random.Generator过。。。你是想生成随机数吗?可以看看这个:https://blog.csdn.net/qq_43790749/article/details/120069276

0
回复
1
1421255697@qq.
#3 回复于2022-04
我用numpy都是直接用import numpy as np,没有像你这样import numpy.random.Generator过。。。你是想生成随机数吗?可以看看这个:https://blog.csdn.net/qq_43790749/article/details/120069276
展开

我重新开一个notebook就可以了,谢谢!

 

0
回复
在@后输入用户全名并按空格结束,可艾特全站任一用户