MahmoudAshraf97 / whisper-diarization

Automatic Speech Recognition with Speaker Diarization based on OpenAI Whisper
BSD 2-Clause "Simplified" License
3.28k stars 272 forks source link

pip install errors #33

Closed Aymericr closed 1 year ago

Aymericr commented 1 year ago

This error related to nemo_toolkit dependencies is causing pip install -r requirements.txt to fail.

I have a similar setup (python 3.10.6, latest pip/setuptools, macOS 13.1 M1)

MahmoudAshraf97 commented 1 year ago

Unfortunately Nemo requires an nvidia gpu to work so mac isnt supported at the moment, it can run on the cpu though so I'll try to find a workaround for this requirement

Aymericr commented 1 year ago

This comment seems to suggest a solution for macOS.

from nemo.core import DeviceType
nf = nemo.core.NeuralModuleFactory(placement=DeviceType.CPU)

Although, even if NeMo can run on CPU it wouldn't fix the pip install I believe.

MahmoudAshraf97 commented 1 year ago

Yes the error is solved using pip install Cython

Aymericr commented 1 year ago

It does fix it for Python 3.9.16. It breaks for Python 3.10.6.

mattjoyce commented 1 year ago

Cython issue persists.

MahmoudAshraf97 commented 1 year ago

Downgrade to python 3.10 until NeMo supports 3.11