whisper-cpp-python
whisper-cpp-python copied to clipboard
FileNotFoundError: Shared library with base name 'whisper' not found
Hi,
I installed whisper-cpp-python using:
pip install "whisper-cpp-python[server]"
However when I run:
python3 -m whisper_cpp_python.server --model models/ggml-tiny.bin
I receive:
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 112, in _get_module_details
File "/opt/homebrew/lib/python3.11/site-packages/whisper_cpp_python/__init__.py", line 1, in <module>
from .whisper import *
File "/opt/homebrew/lib/python3.11/site-packages/whisper_cpp_python/whisper.py", line 1, in <module>
from . import whisper_cpp
File "/opt/homebrew/lib/python3.11/site-packages/whisper_cpp_python/whisper_cpp.py", line 54, in <module>
_lib = _load_shared_library(_lib_base_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.11/site-packages/whisper_cpp_python/whisper_cpp.py", line 45, in _load_shared_library
raise FileNotFoundError(
FileNotFoundError: Shared library with base name 'whisper' not found
My system:
OS: macOS 13.6 22G120 arm64
python3 --version: Python 3.11.6