Skip to content
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

Regex doesn't work on MAC M1, it says "have 'x86_64', need 'arm64e '" #450

Open
ws745630 opened this issue Jan 23, 2022 · 2 comments
Open

Comments

@ws745630
Copy link

ws745630 commented Jan 23, 2022

dlopen(/Users/wangcl/Library/Python/3.8/lib/python/site-packages/regex/_regex.cpython-38-darwin.so, 0x0002): tried: '/Users/wangcl/Library/Python/3.8/lib/python/site-packages/regex/_regex.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/_regex.cpython-38-darwin.so' (no such file), '/usr/lib/_regex.cpython-38-darwin.so' (no such file)

Python:3.8.9

@mrabarnett
Copy link
Owner

I need more details.

Which version of regex? How did you install it? The recommended method is pip.

Have you looked at the previous issues regarding M1?

@ghost
Copy link

ghost commented Feb 23, 2022

I suspect you downloaded the x86_64 wheel and tried to install it on M1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants