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
leon5288@MacBook-Pro chineseocr % python3 app.py 8080
Traceback (most recent call last):
File "app.py", line 43, in <module>
from text.darknet_detect import text_detect
File "/Users/leon5288/code/chineseocr/text/darknet_detect.py", line 10, in <module>
import darknet as dn
File "python/darknet.py", line 49, in <module>
lib = CDLL(root + "chineseocr/darknet/libdarknet.so", RTLD_GLOBAL)
File "/usr/local/Cellar/python/3.7.6_1/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ctypes/__init__.py", line 364, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/Users/leon5288/code/chineseocr/darknet/libdarknet.so, 0x000A): tried: '/Users/leon5288/code/chineseocr/darknet/libdarknet.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/leon5288/code/chineseocr/darknet/libdarknet.so' (no such file), '/Users/leon5288/code/chineseocr/darknet/libdarknet.so' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))
The text was updated successfully, but these errors were encountered:
Leonz5288
changed the title
可以在mac chip 米
可以在mac chip m2,arm64的architecture上跑吗?
Mar 30, 2023
试了一下好像不太行
请问一下有没有什么解决办法还是说现在暂时不支持?
The text was updated successfully, but these errors were encountered: