Unable to import the generator and PCG64 from the numpy.random package?
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-80-e22079a8792a> in <module>
----> 1 from numpy.random import Generator as gen
2 from numpy.random import PCG64 as pcg
3
4
5 ## We load two functions from the numpy.random module.
ImportError: cannot import name 'Generator' from 'numpy.random' (C:\Users\User\Anaconda3\lib\site-packages\numpy\random\__init__.py)
1 answers ( 0 marked as helpful)
same problem here