Incompatible architecture (apple silicon)
Opened this issue · 1 comments
jer-tx commented
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 commented
can you try with 3.9+ version. I have m1 chip mac pro 13 2020 model. worked for me