Skip to content

FileNotFoundError: Shared library with base name 'whisper' not found #9

Closed
@DamienDabernat

Description

@DamienDabernat

Hello, thanks for your work !

I'm not the best in python and I have some trouble to install this module.

I use miniconda3 on a Macbook M1. I can install this module with pip with no problem. But when I try to import the module, there is an error : FileNotFoundError: Shared library with base name 'whisper' not found .

Here's the stack trace :

Python 3.10.11 (main, Apr 20 2023, 13:58:42) [Clang 14.0.6 ] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from whisper_cpp_python import Whisper
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/damien/miniconda3/envs/whisper/lib/python3.10/site-packages/whisper_cpp_python/__init__.py", line 1, in <module>
    from .whisper import *
  File "/Users/damien/miniconda3/envs/whisper/lib/python3.10/site-packages/whisper_cpp_python/whisper.py", line 1, in <module>
    from . import whisper_cpp
  File "/Users/damien/miniconda3/envs/whisper/lib/python3.10/site-packages/whisper_cpp_python/whisper_cpp.py", line 54, in <module>
    _lib = _load_shared_library(_lib_base_name)
  File "/Users/damien/miniconda3/envs/whisper/lib/python3.10/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

Do I missing something obvious ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions