-
Notifications
You must be signed in to change notification settings - Fork 138
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
NumPy 1.25.0: "One of the required function to build numpy is not available" #1022
Comments
Sorry for the slow reply. You created #1026 a few days later about a different problem with NumPy 1.25.1. Does that mean you solved this issue, or are you just getting different errors from different versions? |
i didnt really solve it, i read on another similar issue in termux (linux terminal for android) that it was mostly a problem with the check and not the actual function, so i tried removing the check (i know thats absolutely dumb) just to check if it would work without it, and then i ran into the other problem, wich i think i found the reason for (will comment on the other issue) |
Actually, I think I remember this error now, and the solution was changing the version of setuptools, as you can see at the bottom of numpy/patches/chaquopy.patch. But your log doesn't mention any patches. You can't just remove all the existing patches and expect it to work. If they don't apply to the newer version, then some of them might be unnecessary, but others will need to be adapted. |
Ah yes i didnt include the patches, they gave this error
the pyproject.toml.rej file shows:
even tho i have setuptools 59.2.0 installed |
Then you'll have to look at the pyproject.toml file and work out how to update the patch to achieve the same effect. |
yes, i looked into the patch stuff a bit and changed in manually, i have a wheel file generated now, i really hope i works, thanks for your help i tried so f-ing long to get this to work |
NumPy version 1.26.2 is now in the public repository for Python 3.9, 3.10 and 3.11. |
I wanted to build a numpy wheel with the package build tool, however i get an error when running the build
this is my meta.yaml for numpy:
this is my entire build log
The text was updated successfully, but these errors were encountered: