bashtage/ng-numpy-randomstate

is this normal?

nbecker opened this issue · 5 comments

Built from latest git master (on linux):

import randomstate

In [3]: import randomstate.prng

In [4]: import randomstate.prng.dsfmt

In [10]: import randomstate.prng.sfmt
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-10-0fd7f600ff12> in <module>()
----> 1 import randomstate.prng.sfmt

ModuleNotFoundError: No module named 'randomstate.prng.sfmt'

You probably need to rebuild the binary modules since sfmt was only recently added.

Safest way when using a clone of the repo:

pip uninstall randomstate -y
python setup.py clean
git -xfd
python setup.py install

Note that git xfd is dangerous if you have anything in the repo that you care about.

git -xfd
Unknown option: -xfd

Sorry, should be git clean -xfd

Is this solved?