You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm new at all of this! I'm a Mac user and when I type manga_ocr I get the following error:
manga_ocr
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/manga_ocr", line 5, in <module>
from manga_ocr.__main__ import main
File "/Users/julisco/Library/Python/3.10/lib/python/site-packages/manga_ocr/__init__.py", line 3, in <module>
from manga_ocr.ocr import MangaOcr
File "/Users/julisco/Library/Python/3.10/lib/python/site-packages/manga_ocr/ocr.py", line 5, in <module>
import torch
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/__init__.py", line 217, in <module>
_load_global_deps()
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/__init__.py", line 177, in _load_global_deps
raise err
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/__init__.py", line 172, in _load_global_deps
ctypes.CDLL(lib_path, mode=ctypes.RTLD_GLOBAL)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/ctypes/__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/lib/libtorch_global_deps.dylib, 0x000A): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/lib/libtorch_global_deps.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/lib/libtorch_global_deps.dylib' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/torch/lib/libtorch_global_deps.dylib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Can someone help? Thanks
The text was updated successfully, but these errors were encountered:
quopquai
changed the title
incompatible architecture (have 'x86_64', need 'arm64'))
(mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))
Jan 18, 2024
Hi, I'm new at all of this! I'm a Mac user and when I type
manga_ocr
I get the following error:Can someone help? Thanks
The text was updated successfully, but these errors were encountered: