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

Incompatible architecture (apple silicon) #82

Open
jer-tx opened this issue Mar 4, 2022 · 1 comment
Open

Incompatible architecture (apple silicon) #82

jer-tx opened this issue Mar 4, 2022 · 1 comment

Comments

@jer-tx
Copy link

jer-tx commented Mar 4, 2022

Running into an error with this package when running a project on apple silicon (M1)

Using Python specified in "runtime": python3.7
  File "/Users/name/.local/share/virtualenvs/library1CORs3LD/lib/python3.7/site-packages/Levenshtein/__init__.py", line 1, in <module>
    from Levenshtein import _levenshtein
ImportError: dlopen(/Users/name/.local/share/virtualenvs/library-1CORs3LD/lib/python3.7/site-packages/Levenshtein/_levenshtein.cpython-37m-darwin.so, 0x0002): tried: '/Users/name/.local/share/virtualenvs/library1CORs3LD/lib/python3.7/site-packages/Levenshtein/_levenshtein.cpython-37m-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/_levenshtein.cpython-37m-darwin.so' (no such file), '/usr/lib/_levenshtein.cpython-37m-darwin.so' (no such file)

(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e'

Not sure of a solution here

@HardipinderS
Copy link

can you try with 3.9+ version. I have m1 chip mac pro 13 2020 model. worked for me

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