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

Issue with libmagic on MacOS M2 #368

Open
pakkunandy opened this issue Apr 9, 2024 · 0 comments
Open

Issue with libmagic on MacOS M2 #368

pakkunandy opened this issue Apr 9, 2024 · 0 comments

Comments

@pakkunandy
Copy link

I'm trying to install startleft on MacOS. I've also installed the libmagic via brew install libmagic. But when I run startleft --version, I found this error

Traceback (most recent call last):
  File "/opt/homebrew/bin/startleft", line 5, in <module>
  File "/opt/homebrew/lib/python3.11/site-packages/startleft/startleft/cli/cli.py", line 11, in <module>
  File "/opt/homebrew/lib/python3.11/site-packages/_sl_build/secure_importer.py", line 38, in _secure_importer
  File "/opt/homebrew/lib/python3.11/site-packages/sl_util/sl_util/file_utils.py", line 7, in <module>
  File "/opt/homebrew/lib/python3.11/site-packages/_sl_build/secure_importer.py", line 38, in _secure_importer
  File "/opt/homebrew/lib/python3.11/site-packages/magic/__init__.py", line 209, in <module>
  File "/opt/homebrew/lib/python3.11/site-packages/magic/loader.py", line 49, in load_lib
ImportError: failed to find libmagic.  Check your installation

Do you have any ideas?

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

1 participant