-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fail to install by pip on macOS 11.0.1 Big Sur #78
Comments
I'm afraid the bigger problem here is that pip doesn't use wheels on Big Sur yet because of the version bump to 11.0: pypa/pip#9138 It looks like an upcoming pip release should fix that and a (ugly) workaround is mentioned in the linked ticket. As for the build problem that's gonna be a fun one, because cursory googling unveiled that blake2 currenly fails to compile on latest clangs and I don't see any fixes on neither the argon2 nor the blake repos. |
I should note though, that I can compile it with the same clang – and supposedly CLI tools version. Would you mind trying to work through https://github.com/hynek/argon2-cffi/blob/master/.github/CONTRIBUTING.rst#local-development-environment within a virtualenv and see if that works? There's no way in hell I'm updating to Big Sur yet, so I can't debug it myself for now. |
In a hilarious turn of events, pip 20.3 has just been released: https://pyfound.blogspot.com/2020/11/pip-20-3-new-resolver.html Please re-try to install with it! |
Yes, it works with pip 20.3. |
Is there an update on this issue? I tried and failed to pip install this package. Here are my specs: |
Well, it works for others, so you're probably missing some build dependency. |
@hynek The Lines 327 to 334 in ce46d6a
@stewjb has the new apple arm chip. arm CPUs don't support msse, they have their own SIMD extension called Neon |
Actually, apple's own docs make it sound like there's no SIMD extension whatsoever in the new M1 chips: https://developer.apple.com/documentation/apple_silicon/addressing_architectural_differences_in_your_macos_code |
We only pass that flag if optimized is True and optimized is only True on x86: Line 30 in ce46d6a
So I’m gonna need more output with recent Pythons/pips since I can’t test it myself. |
(Also, most people use Python still under Rosetta which makes |
This is fixed by the outsourcing to https://github.com/hynek/argon2-cffi-bindings Feel free to try to pip-install it and report back if it's still broken. |
I tried to install jupyterlab which depends argon2-cffi, but failed at building argon2-cffi.
System:

Python version:
pip version:
Toolchains:
Command and Log:
The text was updated successfully, but these errors were encountered: