[ins] In [1]: import opencc
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
Cell In[1], line 1
----> 1 import opencc
File /opt/homebrew/Caskroom/miniconda/base/lib/python3.11/site-packages/opencc.py:24
22 libopencc = CDLL(_libopenccfile, use_errno=True)
23 else:
---> 24 libopencc = CDLL('libopencc.so.1', use_errno=True)
27 libc.free.argtypes = [c_void_p]
29 libopencc.opencc_open.restype = c_void_p
File /opt/homebrew/Caskroom/miniconda/base/lib/python3.11/ctypes/__init__.py:376, in CDLL.__init__(self, name, mode, handle, use_errno, use_last_error, winmode)
373 self._FuncPtr = _FuncPtr
375 if handle is None:
--> 376 self._handle = _dlopen(self._name, mode)
377 else:
378 self._handle = handle
OSError: dlopen(libopencc.so.1, 0x0006): tried: 'libopencc.so.1' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibopencc.so.1' (no such file), '/opt/homebrew/Caskroom/miniconda/base/lib/python3.11/lib-dynload/../../libopencc.so.1' (no such file), '/opt/homebrew/Caskroom/miniconda/base/bin/../lib/libopencc.so.1' (no such file), '/usr/lib/libopencc.so.1' (no such file, not in dyld cache), 'libopencc.so.1' (no such file), '/usr/local/lib/libopencc.so.1' (no such file), '/usr/lib/libopencc.so.1' (no such file, not in dyld cache)