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

fail to import libmagic in nlm_utils #2

Open
uday1212 opened this issue Jul 11, 2024 · 0 comments
Open

fail to import libmagic in nlm_utils #2

uday1212 opened this issue Jul 11, 2024 · 0 comments

Comments

@uday1212
Copy link

Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/Users/uday/Projects/CazeLabs/AI_Solutions/LLM_Fin_doc_analyser/GitHub/PDF_Parsers/nlm-ingestor/nlm_ingestor/ingestion_daemon/main.py", line 9, in
from nlm_utils.utils import file_utils
File "/opt/homebrew/Caskroom/miniforge/base/envs/nlm_ingestor/lib/python3.11/site-packages/nlm_utils/utils/file_utils.py", line 4, in
import magic
File "/opt/homebrew/Caskroom/miniforge/base/envs/nlm_ingestor/lib/python3.11/site-packages/magic/init.py", line 210, in
libmagic = loader.load_lib()
^^^^^^^^^^^^^^^^^
File "/opt/homebrew/Caskroom/miniforge/base/envs/nlm_ingestor/lib/python3.11/site-packages/magic/loader.py", line 39, in load_lib
raise ImportError('failed to find libmagic. Check your installation')
ImportError: failed to find libmagic. Check your installation

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