-
Notifications
You must be signed in to change notification settings - Fork 91
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
Can't install numcodecs on OSX Big Sur #269
Comments
Thanks for the data point! 😄 |
I'm also seeing this problem on macOS Catalina. The issue is with Apple Clang 12.0.0, not with the specific macOS version. See Blosc/c-blosc#316 for my error msg. It would be great if c-blosc could be installed externally at any version we need instead of using the git submodule. |
I'm getting the same issue on a M1 MacBook Pro MacOS Big Sur 11.5 when trying to install numcodec v0.8.0 in a virtualenv using poetry and pyenv. Trying to install for python 3.8.11. The error message is
@d70-t - how did you force the numcodecs install to use a newer version of c-blosc? Did you manage to figure out a workaround? |
The issue is slightly different when installing in a Python 3.9.6 virtualenv. Instead I get
|
Probably we just need to update the vendored Blosc. In particular commit ( Blosc/c-blosc@406f596 ) is referenced as having fixed that issue. Could someone please open a PR updating the Blosc submodule in Numcodecs to the latest version? |
It seems like it should be installing the latest version of blosc https://github.com/zarr-developers/numcodecs/blob/master/.gitmodules |
more details - the blosc community seem to believe this is a numcodecs issue Blosc/c-blosc#316 |
Exactly can you please send a PR to update it? |
I haven't worked with the numcodecs module so I could be wrong. My reading of the code is that the .gitmodules import uses the latest blosc package so I don't think the issue is the blosc package version. I believe the issue is to do with building blosc as a vendor submodule Blosc/c-blosc#316 (comment) |
I'll have a look into alternative methods for building blosc. Maybe this is the answer long term? https://github.com/Blosc/python-blosc |
I don't think that is correct. We are using Anyways if you have a moment please send a PR, would be happy to review 🙂 |
Yeah this is something we have discussed. Agree it would be beneficial. Previously this was not possible as there were not Blosc wheels. That has since changed ( #262 ). More generally there are other compiled bits that would be nice to replace with 3rd party libraries ( #264 ). This would cutdown (maybe even eliminate) compilation on the Numcodecs side, which seems to be an endless source of pain for some users (as you have experienced first hand). There's PR ( #274 ) that starts down this path. Would be good if someone picked that up and pushed it across the finish line |
Ahh yes I understand now. Here's the PR #283 |
I now have numcodecs and zarr working with this PR #283 |
Minimal, reproducible code sample, a copy-pastable example if possible
Problem description
Installation fails due to Blosc/python-blosc#229. Updating the
c-blosc
submodule to v1.21.0 fixes the issue.Version and installation information
Please provide the following:
numcodecs.__version__
: current master branchThe text was updated successfully, but these errors were encountered: