-
Notifications
You must be signed in to change notification settings - Fork 1k
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
On Windows, unable to install Surprise with poetry due to Cythonizing error #484
Comments
I have similar cython issue when installing using pip. |
Hi folks, you're probably using numpy 2 ? I haven't had a chance to add numpy 2 compatibility yet. Happy to get some help on this, in the meantime I think you'll have to use numpy < 2 |
I have tried downgrading numpy and reinstall surprise. × Getting requirements to build wheel did not run successfully.
note: This error originates from a subprocess, and is likely not a problem with pip. × Getting requirements to build wheel did not run successfully. note: This error originates from a subprocess, and is likely not a problem with pip. |
Description
Trying to install the package with poetry on Windows (maybe Linux too? haven't tested it myself) gives an error.
Skimming through the error log, this seems to be an error because of the usage of
np.int_t
, which is no longer supported by numpy.Steps/Code to Reproduce
Run
poetry add scikit-surprise
.Expected Results
The package installs successfully.
Actual Results
Output from `poetry add scikit-surprise` command (long output)
Versions
Windows-11-10.0.22631-SP0
Python 3.13.0 (tags/v3.13.0:60403a5, Oct 7 2024, 09:38:07) [MSC v.1941 64 bit (AMD64)]
The text was updated successfully, but these errors were encountered: