Replies: 1 comment
-
what installation command are you using? you have to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Getting the following error message when attempting to install whisper.
Pycharm is installed and up to date.
ffmpeg has been already installed.
Python version:3.11, running on Windows
I'm not familiar with it, please tell me what do I need to do before using it?
Error message:
C:\whisper\whisper\venv\Scripts\python.exe C:\whisper\whisper\test.py
C:\whisper\whisper\whisper\timing.py:57: 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.
@numba.jit
Traceback (most recent call last):
File "C:\whisper\whisper\test.py", line 2, in
whisper_model = whisper.load_model("large")
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\whisper\whisper\whisper_init.py", line 131, in load_model
checkpoint_file = _download(MODELS[name], download_root, in_memory)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\whisper\whisper\whisper_init.py", line 59, in download
model_bytes = f.read()
^^^^^^^^
MemoryError
And here is the code of test.py
import whisper
whisper_model = whisper.load_model("large")
result = whisper_model.transcribe(r"E:\Python\OpenPROS\Whisper\whisper-20230314\venv\Lib\site-packages\sympy\physics\optics\tests\test.wav")
print(", ".join([i["text"] for i in result["segments"] if i is not None]))
Besides, I run setup.py, but get error message again.
_C:\Python3.11\python.exe C:\whisper\whisper\setup.py
C:\Python3.11\Lib\site-packages\setuptools_distutils\dist.py:264: UserWarning: Unknown distribution option: 'readme'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: no commands supplied
Many thanks for your reply.
Beta Was this translation helpful? Give feedback.
All reactions