SevaSk/ecoute

NumbaDeprecationWarning and FFmpeg Installation Error in Whisper Module

AjayKrishna76 opened this issue · 0 comments

Description

I am encountering two issues when using the Whisper module in Python. Firstly, there's a deprecation warning from Numba, and secondly, an error related to FFmpeg not being installed, even though it is installed on my system.

Environment

  • Operating System: Windows
  • Python Version: 3.9.7
  • Whisper Version: 1.1.10

Steps to Reproduce

  1. Install Whisper using pip install whisper.
  2. Run a Python script that imports and uses Whisper.
  3. Encounter the following issues.

Expected Behavior

I expect Whisper to import without any deprecation warnings and recognize the installed FFmpeg library.

Actual Behavior

  1. NumbaDeprecationWarning

    • The following deprecation warning is displayed:
      NumbaDeprecationWarning: The 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.
        def backtrace(trace: np.ndarray):
      
    • This warning suggests that future versions of Numba will change the default behavior, potentially affecting Whisper's functionality.
  2. FFmpeg Library Not Installed Error

    • Despite having FFmpeg installed and correctly set up in the system PATH, I receive the following error when using Whisper:
      ERROR: The ffmpeg library is not installed. Please install ffmpeg and try again.
      
    • This occurs even though FFmpeg is accessible from the command line.

Thank you for looking into these issues. I am looking forward to your guidance and potential fixes.