-
Notifications
You must be signed in to change notification settings - Fork 104
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
Failed to compile on Apple M1 [BUG] #385
Comments
I don't know if this might help at all. I tried to replace the OPTIONAL_HEADERS (which apparently is not optional afer all) param in
with
Then I pass past the error above but get another error in Here is the dump
|
Ok so I added the constant declaration |
Ok I reinstalled it as
|
not work here. the error output is:
|
my numpy version is 1.21.2, if it helps. |
I suggested
and same for the line 1520:
|
sorry I have had a typo (npy_DTYPE0 -> npy_DYPE0) at my first try。 After apply your code above, it pass the compilation. Thanks! |
@NikZak I got the same issue on my side. Any timeline on when this fix will be merged with master (and published in new release)? Is there already a PR for this? |
I tried the suggested solution above, with no luck. Seems like my environment cannot compile C code? After trying a multitude of things ( Guess I'll try to run with Rosetta2 for now. |
I managed to install bottleneck on my mac m1 by first installing llvm utilities with |
I am really eager to se a fix on this one. With my new Mac this reduce function is blocking my work. |
@ahysing I installed successfully bottleneck 1.2.1 on my M1 a couple of months ago. The later versions had the problem of this issue. |
I am trying to compile on Apple M1 with
pip install .
and get following bug report. Any help would be appreciatedThe text was updated successfully, but these errors were encountered: