You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After some experiment I think this is related to the version of numpy (1.20.x). It needs to be upgraded to 1.22.x, so that the Cython compiled code csimulate.pyx could work.
So, if you see the error, try to upgrade the numpy to latest version.
However, the situation can be harder when numba is taken into consideration. The current numba version (0.54.1) does not support numpy 1.21.x +. Hopefully the numba people will support latest numpy at some point. At the moment, the way to solve the issue seems to be using an older Python (like Python 3.7).
The text was updated successfully, but these errors were encountered:
Some user with Python version newer than 3.8 might experience following issue when importing nplocate.
After some experiment I think this is related to the version of
numpy
(1.20.x
). It needs to be upgraded to1.22.x
, so that the Cython compiled codecsimulate.pyx
could work.However, the situation can be harder when
numba
is taken into consideration. The currentnumba
version (0.54.1
) does not supportnumpy 1.21.x +
. Hopefully thenumba
people will support latestnumpy
at some point. At the moment, the way to solve the issue seems to be using an older Python (like Python 3.7).The text was updated successfully, but these errors were encountered: