SevaSk / ecoute

Ecoute is a live transcription tool that provides real-time transcripts for both the user's microphone input (You) and the user's speakers output (Speaker) in a textbox. It also generates a suggested response using OpenAI's GPT-3.5 for the user to say based on the live transcription of the conversation.
https://github.com/SevaSk/ecoute
MIT License
5.89k stars 827 forks source link

NumbaDeprecationWarning and FFmpeg Installation Error in Whisper Module #165

Open AjayKrishna76 opened 10 months ago

AjayKrishna76 commented 10 months ago

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

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.