Closed
Description
When Python-magic is installed and executed on Apple Silicon(m1), the following bug occurs. Is there any workaround?
ImportError: dlopen(/usr/local/Cellar/libmagic/5.41/lib/libmagic.dylib, 0x0006): tried: '/usr/local/Cellar/libmagic/5.41/lib/libmagic.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/libmagic.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libmagic.dylib' (no such file), '/usr/local/Cellar/libmagic/5.41/lib/libmagic.1.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/libmagic.1.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/lib/libmagic.1.dylib' (no such file)
failed to find libmagic. Check your installation
Metadata
Metadata
Assignees
Labels
No labels