-
Notifications
You must be signed in to change notification settings - Fork 106
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 is not supported a supported wheel on this platform #119
Comments
FYI, if I try:
I get a long error where I think the main important part is:
|
FYI, this is why I am having issues:
|
Hi @cemlyn007, the NumPy wheels and source distributions from PyPI will not be compatible. The source distributions require patches that are not yet upstreamed. It looks like ml-dtypes wants NumPy 1.21.2. You can probably get away with NumPy 1.21.0:
If that doesn't work, you can try installing ml-dtypes with Let me know if you run into problems with this approach. |
For context, here are the patches for NumPy 1.21.0: https://github.com/colesbury/numpy/commits/v1.21.0-nogil |
Ah I am terribly sorry, I didn't realise you've created a fork of NumPy although that now makes more sense since the pip index url wasn't pointing to just PyPi! |
I tried using the install no dependencies flag but it is almost like NumPy was ignored.
Looking at Either way maybe I am wasting your time because I think this package (ml-dtypes) is going to have a similar issue as #116 because it depends on PyBind? Hopefully all of this will get ironed out one day, either way fantastic work mate! (I don't normally make issues, but maybe this one is drifting away from any NumPy that is not 1.21.2, please feel free to close it if this you think the issue is not really relevant) |
Hi first of all, awesome work!
I downloaded NumPy from PyPi for MacOS M2 but I am getting wheel not supported on this platform?
Reason why I am trying to get this to work? I want to experiment with using this with some ML libraries and I cannot use NumPy 1.24.0 (which I could pip install) 😄
The text was updated successfully, but these errors were encountered: