-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install nnmnkwii because of cythonizing error #126
Comments
Same problem here. A little refactor may help this. |
While preparing the environment for REMDIS, I got the same error. environment: M2 mac |
shouldn't be that hard to fix cython code for numpy 2.0.0, but the easiest fix is to use numpy <2.0.0 for now |
I tried to lower numpy/scipy/cython versions. Even python version. All failed..I don't know why. Cython.Compiler.Errors.CompileError: nnmnkwii/paramgen/_bandmat/misc.pyx def fancy_plus_equals(cnp.ndarray[cnp.int_t, ndim=1] target_index_seq,
|
I was able to install it using the link below.
Thank you, @decfrr. |
Above worked for me too. Thank you, @decfrr @personabb |
I'll keep this issue open until I make a new release. |
Do you have some estimation of when you might make the new release including this change? |
I'll work on it this weekend |
@r9y9 Thank you very much! :)) |
fixed by https://github.com/r9y9/nnmnkwii/releases/tag/v0.1.3 let me know if the problem persists |
@r9y9 All working now. Thank you very much! |
I failed to install nnmnkwii which is the HEAD version of master branch because cnp.int_t in nnmnkwii/paramgan/_bandmat/misc.pyx is invalid type when cythonizing. I'm afraid that it came from the API incompatibility between numpy 2.0.0 and that of older versions.
environment: Debian 12.5(WSL2)
python version: 3.11.2
numpy version: 2.0.0
cython version: 3.0.10
nnmnkwii_install.log
The text was updated successfully, but these errors were encountered: