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
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
def _load_shared_library(lib_base_name: str):
# Determine the file extension based on the platform
if sys.platform.startswith("linux"):
lib_ext = ".so"
elif sys.platform == "darwin":
lib_ext = ".so" # here should be .dylib
elif sys.platform == "win32":
lib_ext = ".dll"
else:
raise RuntimeError("Unsupported platform")
Hi,
I installed whisper-cpp-python using:
However when I run:
I receive:
My system:
The text was updated successfully, but these errors were encountered: