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.
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
Install Whisper using pip install whisper.
Run a Python script that imports and uses Whisper.
Encounter the following issues.
Expected Behavior
I expect Whisper to import without any deprecation warnings and recognize the installed FFmpeg library.
Actual Behavior
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.
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.
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
pip install whisper
.Expected Behavior
I expect Whisper to import without any deprecation warnings and recognize the installed FFmpeg library.
Actual Behavior
NumbaDeprecationWarning
FFmpeg Library Not Installed Error
Thank you for looking into these issues. I am looking forward to your guidance and potential fixes.