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

Can't run the colab #70

Closed NasonZ closed 1 year ago

NasonZ commented 1 year ago

I can't run the WhisperTranscription+_NeMo_Diarization.ipynb as the installing Dependencies cells fail to run without erros.

I've attached the output of the cells for reference but you should encounter the errors as well.

Running the install dependencies cells:

!pip install nemo_toolkit[asr]==1.17.0
!pip install faster-whisper==0.5.1
!pip install git+https://github.com/m-bain/whisperX.git@4cb167a225c0ebaea127fd6049abfaa3af9f8bb4
!pip install git+https://github.com/facebookresearch/demucs#egg=demucs
!pip install transformers>=4.26.1
!pip install deepmultilingualpunctuation
!pip install wget

output:

Collecting nemo_toolkit[asr]==1.17.0
  Downloading nemo_toolkit-1.17.0-py3-none-any.whl (2.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 11.7 MB/s eta 0:00:00
Collecting huggingface-hub (from nemo_toolkit[asr]==1.17.0)
  Downloading huggingface_hub-0.16.4-py3-none-any.whl (268 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.8/268.8 kB 15.1 MB/s eta 0:00:00
Requirement already satisfied: numba in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (0.56.4)
Requirement already satisfied: numpy>=1.22 in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (1.22.4)
Collecting onnx>=1.7.0 (from nemo_toolkit[asr]==1.17.0)
  Downloading onnx-1.14.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.6/14.6 MB 54.2 MB/s eta 0:00:00
Requirement already satisfied: python-dateutil in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (2.8.2)
Collecting ruamel.yaml (from nemo_toolkit[asr]==1.17.0)
  Downloading ruamel.yaml-0.17.32-py3-none-any.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 14.1 MB/s eta 0:00:00
Requirement already satisfied: scikit-learn in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (1.2.2)
Collecting setuptools==65.5.1 (from nemo_toolkit[asr]==1.17.0)
  Downloading setuptools-65.5.1-py3-none-any.whl (1.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 60.3 MB/s eta 0:00:00
Requirement already satisfied: tensorboard in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (2.12.3)
Requirement already satisfied: text-unidecode in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (1.3)
Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (2.0.1+cu118)
Requirement already satisfied: tqdm>=4.41.0 in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (4.65.0)
Collecting wget (from nemo_toolkit[asr]==1.17.0)
  Downloading wget-3.2.zip (10 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: wrapt in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (1.14.1)
Collecting braceexpand (from nemo_toolkit[asr]==1.17.0)
  Downloading braceexpand-0.1.7-py2.py3-none-any.whl (5.9 kB)
Requirement already satisfied: editdistance in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (0.6.2)
Collecting g2p-en (from nemo_toolkit[asr]==1.17.0)
  Downloading g2p_en-2.1.0-py3-none-any.whl (3.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 62.9 MB/s eta 0:00:00
Requirement already satisfied: inflect in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (6.0.5)
Requirement already satisfied: ipywidgets in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (7.7.1)
Collecting jiwer (from nemo_toolkit[asr]==1.17.0)
  Downloading jiwer-3.0.2-py3-none-any.whl (21 kB)
Collecting kaldi-python-io (from nemo_toolkit[asr]==1.17.0)
  Downloading kaldi-python-io-1.2.2.tar.gz (8.8 kB)
  Preparing metadata (setup.py) ... done
Collecting kaldiio (from nemo_toolkit[asr]==1.17.0)
  Downloading kaldiio-2.18.0-py3-none-any.whl (28 kB)
Requirement already satisfied: librosa>=0.9.0 in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (0.10.0.post2)
Collecting marshmallow (from nemo_toolkit[asr]==1.17.0)
  Downloading marshmallow-3.20.1-py3-none-any.whl (49 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.4/49.4 kB 6.8 MB/s eta 0:00:00
Requirement already satisfied: matplotlib in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (3.7.1)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (23.1)
Collecting pyannote.core (from nemo_toolkit[asr]==1.17.0)
  Downloading pyannote.core-5.0.0-py3-none-any.whl (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.5/58.5 kB 8.1 MB/s eta 0:00:00
Collecting pyannote.metrics (from nemo_toolkit[asr]==1.17.0)
  Downloading pyannote.metrics-3.2.1-py3-none-any.whl (51 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.4/51.4 kB 6.8 MB/s eta 0:00:00
Collecting pydub (from nemo_toolkit[asr]==1.17.0)
  Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)
Requirement already satisfied: scipy>=0.14 in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (1.10.1)
Requirement already satisfied: soundfile in /usr/local/lib/python3.10/dist-packages (from nemo_toolkit[asr]==1.17.0) (0.12.1)
Collecting sox (from nemo_toolkit[asr]==1.17.0)
  Downloading sox-1.4.1-py2.py3-none-any.whl (39 kB)
Collecting texterrors (from nemo_toolkit[asr]==1.17.0)
  Downloading texterrors-0.4.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 23.0 MB/s eta 0:00:00
Collecting hydra-core<1.3,>=1.2.0 (from nemo_toolkit[asr]==1.17.0)
  Downloading hydra_core-1.2.0-py3-none-any.whl (151 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.1/151.1 kB 19.1 MB/s eta 0:00:00
Collecting omegaconf<2.3,>=2.2 (from nemo_toolkit[asr]==1.17.0)
  Downloading omegaconf-2.2.3-py3-none-any.whl (79 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.3/79.3 kB 11.4 MB/s eta 0:00:00
Collecting pytorch-lightning<=1.9.4,>=1.9.0 (from nemo_toolkit[asr]==1.17.0)
  Downloading pytorch_lightning-1.9.4-py3-none-any.whl (827 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 827.8/827.8 kB 65.2 MB/s eta 0:00:00
Collecting pyyaml<6 (from nemo_toolkit[asr]==1.17.0)
  Downloading PyYAML-5.4.1.tar.gz (175 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 175.1/175.1 kB 24.1 MB/s eta 0:00:00
  Installing build dependencies ... done
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Getting requirements to build wheel ... error
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Collecting faster-whisper==0.5.1
  Downloading faster_whisper-0.5.1-py3-none-any.whl (1.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 14.4 MB/s eta 0:00:00
Collecting av==10.* (from faster-whisper==0.5.1)
  Downloading av-10.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (31.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.0/31.0 MB 51.8 MB/s eta 0:00:00
Collecting ctranslate2<4,>=3.10 (from faster-whisper==0.5.1)
  Downloading ctranslate2-3.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (35.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.2/35.2 MB 21.7 MB/s eta 0:00:00
Collecting huggingface-hub>=0.13 (from faster-whisper==0.5.1)
  Using cached huggingface_hub-0.16.4-py3-none-any.whl (268 kB)
Collecting tokenizers==0.13.* (from faster-whisper==0.5.1)
  Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 109.8 MB/s eta 0:00:00
Collecting onnxruntime==1.14.* (from faster-whisper==0.5.1)
  Downloading onnxruntime-1.14.1-cp310-cp310-manylinux_2_27_x86_64.whl (5.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.0/5.0 MB 116.8 MB/s eta 0:00:00
Collecting coloredlogs (from onnxruntime==1.14.*->faster-whisper==0.5.1)
  Downloading coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.0/46.0 kB 6.6 MB/s eta 0:00:00
Requirement already satisfied: flatbuffers in /usr/local/lib/python3.10/dist-packages (from onnxruntime==1.14.*->faster-whisper==0.5.1) (23.5.26)
Requirement already satisfied: numpy>=1.21.6 in /usr/local/lib/python3.10/dist-packages (from onnxruntime==1.14.*->faster-whisper==0.5.1) (1.22.4)
Requirement already satisfied: packaging in /usr/local/lib/python3.10/dist-packages (from onnxruntime==1.14.*->faster-whisper==0.5.1) (23.1)
Requirement already satisfied: protobuf in /usr/local/lib/python3.10/dist-packages (from onnxruntime==1.14.*->faster-whisper==0.5.1) (3.20.3)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from onnxruntime==1.14.*->faster-whisper==0.5.1) (1.11.1)
Requirement already satisfied: pyyaml<7,>=5.3 in /usr/local/lib/python3.10/dist-packages (from ctranslate2<4,>=3.10->faster-whisper==0.5.1) (6.0.1)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.13->faster-whisper==0.5.1) (3.12.2)
Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.13->faster-whisper==0.5.1) (2023.6.0)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.13->faster-whisper==0.5.1) (2.27.1)
Requirement already satisfied: tqdm>=4.42.1 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.13->faster-whisper==0.5.1) (4.65.0)
Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/lib/python3.10/dist-packages (from huggingface-hub>=0.13->faster-whisper==0.5.1) (4.7.1)
Collecting humanfriendly>=9.1 (from coloredlogs->onnxruntime==1.14.*->faster-whisper==0.5.1)
  Downloading humanfriendly-10.0-py2.py3-none-any.whl (86 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.8/86.8 kB 13.2 MB/s eta 0:00:00
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub>=0.13->faster-whisper==0.5.1) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub>=0.13->faster-whisper==0.5.1) (2023.7.22)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub>=0.13->faster-whisper==0.5.1) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->huggingface-hub>=0.13->faster-whisper==0.5.1) (3.4)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->onnxruntime==1.14.*->faster-whisper==0.5.1) (1.3.0)
Installing collected packages: tokenizers, av, humanfriendly, ctranslate2, huggingface-hub, coloredlogs, onnxruntime, faster-whisper
Successfully installed av-10.0.0 coloredlogs-15.0.1 ctranslate2-3.17.1 faster-whisper-0.5.1 huggingface-hub-0.16.4 humanfriendly-10.0 onnxruntime-1.14.1 tokenizers-0.13.3
Collecting git+https://github.com/m-bain/whisperX.git@4cb167a225c0ebaea127fd6049abfaa3af9f8bb4
  Cloning https://github.com/m-bain/whisperX.git (to revision 4cb167a225c0ebaea127fd6049abfaa3af9f8bb4) to /tmp/pip-req-build-h1bz3v6z
  Running command git clone --filter=blob:none --quiet https://github.com/m-bain/whisperX.git /tmp/pip-req-build-h1bz3v6z
  Running command git rev-parse -q --verify 'sha^4cb167a225c0ebaea127fd6049abfaa3af9f8bb4'
  Running command git fetch -q https://github.com/m-bain/whisperX.git 4cb167a225c0ebaea127fd6049abfaa3af9f8bb4
  Running command git checkout -q 4cb167a225c0ebaea127fd6049abfaa3af9f8bb4
  Resolved https://github.com/m-bain/whisperX.git to commit 4cb167a225c0ebaea127fd6049abfaa3af9f8bb4
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from whisperx==1.0) (1.22.4)
Requirement already satisfied: torch in /usr/local/lib/python3.10/dist-packages (from whisperx==1.0) (2.0.1+cu118)
Requirement already satisfied: torchaudio in /usr/local/lib/python3.10/dist-packages (from whisperx==1.0) (2.0.2+cu118)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from whisperx==1.0) (4.65.0)
Requirement already satisfied: soundfile in /usr/local/lib/python3.10/dist-packages (from whisperx==1.0) (0.12.1)
Requirement already satisfied: more-itertools in /usr/local/lib/python3.10/dist-packages (from whisperx==1.0) (9.1.0)
Collecting transformers>=4.19.0 (from whisperx==1.0)
  Downloading transformers-4.31.0-py3-none-any.whl (7.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.4/7.4 MB 20.6 MB/s eta 0:00:00
Collecting ffmpeg-python==0.2.0 (from whisperx==1.0)
  Downloading ffmpeg_python-0.2.0-py3-none-any.whl (25 kB)
Collecting pyannote.audio (from whisperx==1.0)
  Downloading pyannote.audio-2.1.1-py2.py3-none-any.whl (390 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 390.7/390.7 kB 30.6 MB/s eta 0:00:00
Requirement already satisfied: future in /usr/local/lib/python3.10/dist-packages (from ffmpeg-python==0.2.0->whisperx==1.0) (0.18.3)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers>=4.19.0->whisperx==1.0) (3.12.2)
Requirement already satisfied: huggingface-hub<1.0,>=0.14.1 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.19.0->whisperx==1.0) (0.16.4)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.19.0->whisperx==1.0) (23.1)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.19.0->whisperx==1.0) (6.0.1)
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.19.0->whisperx==1.0) (2022.10.31)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers>=4.19.0->whisperx==1.0) (2.27.1)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /usr/local/lib/python3.10/dist-packages (from transformers>=4.19.0->whisperx==1.0) (0.13.3)
Collecting safetensors>=0.3.1 (from transformers>=4.19.0->whisperx==1.0)
  Downloading safetensors-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 43.2 MB/s eta 0:00:00
Collecting asteroid-filterbanks<0.5,>=0.4 (from pyannote.audio->whisperx==1.0)
  Downloading asteroid_filterbanks-0.4.0-py3-none-any.whl (29 kB)
Collecting backports.cached-property (from pyannote.audio->whisperx==1.0)
  Downloading backports.cached_property-1.0.2-py3-none-any.whl (6.1 kB)
Collecting einops<0.4.0,>=0.3 (from pyannote.audio->whisperx==1.0)
  Downloading einops-0.3.2-py3-none-any.whl (25 kB)
Collecting hmmlearn<0.3,>=0.2.7 (from pyannote.audio->whisperx==1.0)
  Downloading hmmlearn-0.2.8-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.whl (217 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 217.2/217.2 kB 27.2 MB/s eta 0:00:00
Collecting networkx<3.0,>=2.6 (from pyannote.audio->whisperx==1.0)
  Downloading networkx-2.8.8-py3-none-any.whl (2.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 39.8 MB/s eta 0:00:00
Collecting omegaconf<3.0,>=2.1 (from pyannote.audio->whisperx==1.0)
  Downloading omegaconf-2.3.0-py3-none-any.whl (79 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 12.0 MB/s eta 0:00:00
Collecting pyannote.core<5.0,>=4.4 (from pyannote.audio->whisperx==1.0)
  Downloading pyannote.core-4.5-py3-none-any.whl (60 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.5/60.5 kB 8.9 MB/s eta 0:00:00
Collecting pyannote.database<5.0,>=4.1.1 (from pyannote.audio->whisperx==1.0)
  Downloading pyannote.database-4.1.3-py3-none-any.whl (41 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.6/41.6 kB 6.1 MB/s eta 0:00:00
Collecting pyannote.metrics<4.0,>=3.2 (from pyannote.audio->whisperx==1.0)
  Using cached pyannote.metrics-3.2.1-py3-none-any.whl (51 kB)
Collecting pyannote.pipeline<3.0,>=2.3 (from pyannote.audio->whisperx==1.0)
  Downloading pyannote.pipeline-2.3-py3-none-any.whl (30 kB)
Collecting pytorch-lightning<1.7,>=1.5.4 (from pyannote.audio->whisperx==1.0)
  Downloading pytorch_lightning-1.6.5-py3-none-any.whl (585 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 585.9/585.9 kB 42.1 MB/s eta 0:00:00
Collecting pytorch-metric-learning<2.0,>=1.0.0 (from pyannote.audio->whisperx==1.0)
  Downloading pytorch_metric_learning-1.7.3-py3-none-any.whl (112 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 14.1 MB/s eta 0:00:00
Collecting semver<3.0,>=2.10.2 (from pyannote.audio->whisperx==1.0)
  Downloading semver-2.13.0-py2.py3-none-any.whl (12 kB)
Collecting singledispatchmethod (from pyannote.audio->whisperx==1.0)
  Downloading singledispatchmethod-1.0-py2.py3-none-any.whl (4.7 kB)
Collecting soundfile (from whisperx==1.0)
  Downloading SoundFile-0.10.3.post1-py2.py3-none-any.whl (21 kB)
Collecting speechbrain<0.6,>=0.5.12 (from pyannote.audio->whisperx==1.0)
  Downloading speechbrain-0.5.15-py3-none-any.whl (553 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 553.8/553.8 kB 45.1 MB/s eta 0:00:00
Collecting torch-audiomentations>=0.11.0 (from pyannote.audio->whisperx==1.0)
  Downloading torch_audiomentations-0.11.0-py3-none-any.whl (47 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.9/47.9 kB 6.9 MB/s eta 0:00:00
Collecting torchaudio (from whisperx==1.0)
  Downloading torchaudio-0.13.1-cp310-cp310-manylinux1_x86_64.whl (4.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 59.9 MB/s eta 0:00:00
Collecting torchmetrics<1.0,>=0.6 (from pyannote.audio->whisperx==1.0)
  Downloading torchmetrics-0.11.4-py3-none-any.whl (519 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 519.2/519.2 kB 38.5 MB/s eta 0:00:00
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from pyannote.audio->whisperx==1.0) (4.7.1)
Requirement already satisfied: cffi>=1.0 in /usr/local/lib/python3.10/dist-packages (from soundfile->whisperx==1.0) (1.15.1)
Requirement already satisfied: sympy in /usr/local/lib/python3.10/dist-packages (from torch->whisperx==1.0) (1.11.1)
Requirement already satisfied: jinja2 in /usr/local/lib/python3.10/dist-packages (from torch->whisperx==1.0) (3.1.2)
Requirement already satisfied: triton==2.0.0 in /usr/local/lib/python3.10/dist-packages (from torch->whisperx==1.0) (2.0.0)
Requirement already satisfied: cmake in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch->whisperx==1.0) (3.25.2)
Requirement already satisfied: lit in /usr/local/lib/python3.10/dist-packages (from triton==2.0.0->torch->whisperx==1.0) (16.0.6)
Collecting torch (from whisperx==1.0)
  Downloading torch-1.13.1-cp310-cp310-manylinux1_x86_64.whl (887.5 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 887.5/887.5 MB 2.0 MB/s eta 0:00:00
Collecting nvidia-cuda-runtime-cu11==11.7.99 (from torch->whisperx==1.0)
  Downloading nvidia_cuda_runtime_cu11-11.7.99-py3-none-manylinux1_x86_64.whl (849 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 849.3/849.3 kB 73.1 MB/s eta 0:00:00
Collecting nvidia-cudnn-cu11==8.5.0.96 (from torch->whisperx==1.0)
  Downloading nvidia_cudnn_cu11-8.5.0.96-2-py3-none-manylinux1_x86_64.whl (557.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 557.1/557.1 MB 1.3 MB/s eta 0:00:00
Collecting nvidia-cublas-cu11==11.10.3.66 (from torch->whisperx==1.0)
  Downloading nvidia_cublas_cu11-11.10.3.66-py3-none-manylinux1_x86_64.whl (317.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 317.1/317.1 MB 4.4 MB/s eta 0:00:00
Collecting nvidia-cuda-nvrtc-cu11==11.7.99 (from torch->whisperx==1.0)
  Downloading nvidia_cuda_nvrtc_cu11-11.7.99-2-py3-none-manylinux1_x86_64.whl (21.0 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.0/21.0 MB 72.5 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch->whisperx==1.0) (67.7.2)
Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch->whisperx==1.0) (0.41.0)
Requirement already satisfied: pycparser in /usr/local/lib/python3.10/dist-packages (from cffi>=1.0->soundfile->whisperx==1.0) (2.21)
Requirement already satisfied: scikit-learn>=0.16 in /usr/local/lib/python3.10/dist-packages (from hmmlearn<0.3,>=0.2.7->pyannote.audio->whisperx==1.0) (1.2.2)
Requirement already satisfied: scipy>=0.19 in /usr/local/lib/python3.10/dist-packages (from hmmlearn<0.3,>=0.2.7->pyannote.audio->whisperx==1.0) (1.10.1)
Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (2023.6.0)
Collecting antlr4-python3-runtime==4.9.* (from omegaconf<3.0,>=2.1->pyannote.audio->whisperx==1.0)
  Downloading antlr4-python3-runtime-4.9.3.tar.gz (117 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 117.0/117.0 kB 15.1 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: sortedcontainers>=2.0.4 in /usr/local/lib/python3.10/dist-packages (from pyannote.core<5.0,>=4.4->pyannote.audio->whisperx==1.0) (2.4.0)
Collecting simplejson>=3.8.1 (from pyannote.core<5.0,>=4.4->pyannote.audio->whisperx==1.0)
  Downloading simplejson-3.19.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (137 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 137.9/137.9 kB 16.1 MB/s eta 0:00:00
Requirement already satisfied: pandas>=0.19 in /usr/local/lib/python3.10/dist-packages (from pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (1.5.3)
Requirement already satisfied: typer[all]>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (0.9.0)
Collecting docopt>=0.6.2 (from pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0)
  Downloading docopt-0.6.2.tar.gz (25 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: tabulate>=0.7.7 in /usr/local/lib/python3.10/dist-packages (from pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (0.9.0)
Requirement already satisfied: matplotlib>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (3.7.1)
Collecting optuna>=1.4 (from pyannote.pipeline<3.0,>=2.3->pyannote.audio->whisperx==1.0)
  Downloading optuna-3.2.0-py3-none-any.whl (390 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 390.6/390.6 kB 37.0 MB/s eta 0:00:00
Requirement already satisfied: tensorboard>=2.2.0 in /usr/local/lib/python3.10/dist-packages (from pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (2.12.3)
Collecting pyDeprecate>=0.3.1 (from pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0)
  Downloading pyDeprecate-0.3.2-py3-none-any.whl (10 kB)
Collecting protobuf<=3.20.1 (from pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0)
  Downloading protobuf-3.20.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 64.7 MB/s eta 0:00:00
Collecting hyperpyyaml (from speechbrain<0.6,>=0.5.12->pyannote.audio->whisperx==1.0)
  Downloading HyperPyYAML-1.2.1-py3-none-any.whl (16 kB)
Requirement already satisfied: joblib in /usr/local/lib/python3.10/dist-packages (from speechbrain<0.6,>=0.5.12->pyannote.audio->whisperx==1.0) (1.3.1)
Collecting sentencepiece (from speechbrain<0.6,>=0.5.12->pyannote.audio->whisperx==1.0)
  Downloading sentencepiece-0.1.99-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 73.2 MB/s eta 0:00:00
Collecting julius<0.3,>=0.2.3 (from torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0)
  Downloading julius-0.2.7.tar.gz (59 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 59.6/59.6 kB 8.6 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: librosa>=0.6.0 in /usr/local/lib/python3.10/dist-packages (from torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0) (0.10.0.post2)
Collecting torch-pitch-shift>=1.2.2 (from torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0)
  Downloading torch_pitch_shift-1.2.4-py3-none-any.whl (4.9 kB)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.19.0->whisperx==1.0) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.19.0->whisperx==1.0) (2023.7.22)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.19.0->whisperx==1.0) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->transformers>=4.19.0->whisperx==1.0) (3.4)
Requirement already satisfied: aiohttp!=4.0.0a0,!=4.0.0a1 in /usr/local/lib/python3.10/dist-packages (from fsspec->huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (3.8.5)
Requirement already satisfied: audioread>=2.1.9 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0) (3.0.0)
Requirement already satisfied: decorator>=4.3.0 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0) (4.4.2)
Requirement already satisfied: numba>=0.51.0 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0) (0.56.4)
INFO: pip is looking at multiple versions of librosa to determine which version is compatible with other requirements. This could take a while.
Collecting librosa>=0.6.0 (from torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0)
  Downloading librosa-0.10.0.post1-py3-none-any.whl (252 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.0/253.0 kB 27.2 MB/s eta 0:00:00
  Downloading librosa-0.10.0-py3-none-any.whl (252 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 252.9/252.9 kB 33.5 MB/s eta 0:00:00
  Downloading librosa-0.9.2-py3-none-any.whl (214 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 214.3/214.3 kB 26.1 MB/s eta 0:00:00
Collecting resampy>=0.2.2 (from librosa>=0.6.0->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0)
  Downloading resampy-0.4.2-py3-none-any.whl (3.1 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 109.3 MB/s eta 0:00:00
Requirement already satisfied: pooch>=1.0 in /usr/local/lib/python3.10/dist-packages (from librosa>=0.6.0->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0) (1.6.0)
Requirement already satisfied: contourpy>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (1.1.0)
Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (0.11.0)
Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (4.41.1)
Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (1.4.4)
Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (9.4.0)
Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (3.1.0)
Requirement already satisfied: python-dateutil>=2.7 in /usr/local/lib/python3.10/dist-packages (from matplotlib>=2.0.0->pyannote.metrics<4.0,>=3.2->pyannote.audio->whisperx==1.0) (2.8.2)
Collecting alembic>=1.5.0 (from optuna>=1.4->pyannote.pipeline<3.0,>=2.3->pyannote.audio->whisperx==1.0)
  Downloading alembic-1.11.1-py3-none-any.whl (224 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 224.5/224.5 kB 28.5 MB/s eta 0:00:00
Collecting cmaes>=0.9.1 (from optuna>=1.4->pyannote.pipeline<3.0,>=2.3->pyannote.audio->whisperx==1.0)
  Downloading cmaes-0.10.0-py3-none-any.whl (29 kB)
Collecting colorlog (from optuna>=1.4->pyannote.pipeline<3.0,>=2.3->pyannote.audio->whisperx==1.0)
  Downloading colorlog-6.7.0-py2.py3-none-any.whl (11 kB)
Requirement already satisfied: sqlalchemy>=1.3.0 in /usr/local/lib/python3.10/dist-packages (from optuna>=1.4->pyannote.pipeline<3.0,>=2.3->pyannote.audio->whisperx==1.0) (2.0.19)
Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/dist-packages (from pandas>=0.19->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (2022.7.1)
Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from scikit-learn>=0.16->hmmlearn<0.3,>=0.2.7->pyannote.audio->whisperx==1.0) (3.2.0)
Requirement already satisfied: mpmath>=0.19 in /usr/local/lib/python3.10/dist-packages (from sympy->torch->whisperx==1.0) (1.3.0)
Requirement already satisfied: absl-py>=0.4 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (1.4.0)
Requirement already satisfied: grpcio>=1.48.2 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (1.56.2)
Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (2.17.3)
Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (1.0.0)
Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (3.4.4)
Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (0.7.1)
Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/lib/python3.10/dist-packages (from tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (2.3.6)
Collecting primePy>=1.3 (from torch-pitch-shift>=1.2.2->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0)
  Downloading primePy-1.3-py3-none-any.whl (4.0 kB)
Requirement already satisfied: click<9.0.0,>=7.1.1 in /usr/local/lib/python3.10/dist-packages (from typer[all]>=0.2.1->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (8.1.6)
Collecting colorama<0.5.0,>=0.4.3 (from typer[all]>=0.2.1->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0)
  Downloading colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting shellingham<2.0.0,>=1.3.0 (from typer[all]>=0.2.1->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0)
  Downloading shellingham-1.5.0.post1-py2.py3-none-any.whl (9.4 kB)
Requirement already satisfied: rich<14.0.0,>=10.11.0 in /usr/local/lib/python3.10/dist-packages (from typer[all]>=0.2.1->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (13.4.2)
Collecting ruamel.yaml<=0.17.28,>=0.17.8 (from hyperpyyaml->speechbrain<0.6,>=0.5.12->pyannote.audio->whisperx==1.0)
  Downloading ruamel.yaml-0.17.28-py3-none-any.whl (109 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 109.6/109.6 kB 14.8 MB/s eta 0:00:00
Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec->huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (23.1.0)
Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec->huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (6.0.4)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec->huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (4.0.2)
Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec->huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (1.9.2)
Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec->huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (1.4.0)
Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/dist-packages (from aiohttp!=4.0.0a0,!=4.0.0a1->fsspec->huggingface-hub<1.0,>=0.14.1->transformers>=4.19.0->whisperx==1.0) (1.3.1)
Collecting Mako (from alembic>=1.5.0->optuna>=1.4->pyannote.pipeline<3.0,>=2.3->pyannote.audio->whisperx==1.0)
  Downloading Mako-1.2.4-py3-none-any.whl (78 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.7/78.7 kB 11.1 MB/s eta 0:00:00
Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (5.3.1)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (0.3.0)
Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (1.16.0)
Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/dist-packages (from google-auth<3,>=1.6.3->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (4.9)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.10/dist-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (1.3.1)
Requirement already satisfied: llvmlite<0.40,>=0.39.0dev0 in /usr/local/lib/python3.10/dist-packages (from numba>=0.51.0->librosa>=0.6.0->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0) (0.39.1)
Requirement already satisfied: appdirs>=1.3.0 in /usr/local/lib/python3.10/dist-packages (from pooch>=1.0->librosa>=0.6.0->torch-audiomentations>=0.11.0->pyannote.audio->whisperx==1.0) (1.4.4)
Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.10/dist-packages (from rich<14.0.0,>=10.11.0->typer[all]>=0.2.1->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/dist-packages (from rich<14.0.0,>=10.11.0->typer[all]>=0.2.1->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (2.14.0)
Collecting ruamel.yaml.clib>=0.2.7 (from ruamel.yaml<=0.17.28,>=0.17.8->hyperpyyaml->speechbrain<0.6,>=0.5.12->pyannote.audio->whisperx==1.0)
  Downloading ruamel.yaml.clib-0.2.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (485 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 485.6/485.6 kB 39.2 MB/s eta 0:00:00
Requirement already satisfied: greenlet!=0.4.17 in /usr/local/lib/python3.10/dist-packages (from sqlalchemy>=1.3.0->optuna>=1.4->pyannote.pipeline<3.0,>=2.3->pyannote.audio->whisperx==1.0) (2.0.2)
Requirement already satisfied: MarkupSafe>=2.1.1 in /usr/local/lib/python3.10/dist-packages (from werkzeug>=1.0.1->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (2.1.3)
Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/dist-packages (from markdown-it-py>=2.2.0->rich<14.0.0,>=10.11.0->typer[all]>=0.2.1->pyannote.database<5.0,>=4.1.1->pyannote.audio->whisperx==1.0) (0.1.2)
Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/lib/python3.10/dist-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (0.5.0)
Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.10/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.2.0->pytorch-lightning<1.7,>=1.5.4->pyannote.audio->whisperx==1.0) (3.2.2)
Building wheels for collected packages: whisperx, antlr4-python3-runtime, docopt, julius
  Building wheel for whisperx (setup.py) ... done
  Created wheel for whisperx: filename=whisperx-1.0-py3-none-any.whl size=1191180 sha256=9ea742ece541b5ca1d7b0eca85280bcedb39904855753885ce91c249ce69d907
  Stored in directory: /root/.cache/pip/wheels/be/c6/8d/af2fdad49e61e3e03b955964a023ab93bfa90de2d4b7ca16ce
  Building wheel for antlr4-python3-runtime (setup.py) ... done
  Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144552 sha256=0546cc6655c96d9210b6115218f83f2712f3a1ea5025dece46215f2aedbf6bf6
  Stored in directory: /root/.cache/pip/wheels/12/93/dd/1f6a127edc45659556564c5730f6d4e300888f4bca2d4c5a88
  Building wheel for docopt (setup.py) ... done
  Created wheel for docopt: filename=docopt-0.6.2-py2.py3-none-any.whl size=13705 sha256=bf609a5464c2ff4d831f9f41943374d67971e99104b830e21ddfecb7086608c4
  Stored in directory: /root/.cache/pip/wheels/fc/ab/d4/5da2067ac95b36618c629a5f93f809425700506f72c9732fac
  Building wheel for julius (setup.py) ... done
  Created wheel for julius: filename=julius-0.2.7-py3-none-any.whl size=21876 sha256=39321e7c6382ba81c6341ea932acf495799fe42e0d52c53868c41d36137b680c
  Stored in directory: /root/.cache/pip/wheels/b9/b2/05/f883527ffcb7f2ead5438a2c23439aa0c881eaa9a4c80256f4
Successfully built whisperx antlr4-python3-runtime docopt julius
Installing collected packages: singledispatchmethod, sentencepiece, safetensors, primePy, einops, docopt, antlr4-python3-runtime, simplejson, shellingham, semver, ruamel.yaml.clib, pyDeprecate, protobuf, omegaconf, nvidia-cuda-runtime-cu11, nvidia-cuda-nvrtc-cu11, nvidia-cublas-cu11, networkx, Mako, ffmpeg-python, colorlog, colorama, cmaes, backports.cached-property, soundfile, ruamel.yaml, resampy, pyannote.core, nvidia-cudnn-cu11, alembic, transformers, torch, optuna, librosa, hyperpyyaml, hmmlearn, torchmetrics, torchaudio, pytorch-metric-learning, pyannote.database, julius, asteroid-filterbanks, torch-pitch-shift, speechbrain, pytorch-lightning, pyannote.pipeline, pyannote.metrics, torch-audiomentations, pyannote.audio, whisperx
  Attempting uninstall: protobuf
    Found existing installation: protobuf 3.20.3
    Uninstalling protobuf-3.20.3:
      Successfully uninstalled protobuf-3.20.3
  Attempting uninstall: networkx
    Found existing installation: networkx 3.1
    Uninstalling networkx-3.1:
      Successfully uninstalled networkx-3.1
  Attempting uninstall: soundfile
    Found existing installation: soundfile 0.12.1
    Uninstalling soundfile-0.12.1:
      Successfully uninstalled soundfile-0.12.1
  Attempting uninstall: torch
    Found existing installation: torch 2.0.1+cu118
    Uninstalling torch-2.0.1+cu118:
      Successfully uninstalled torch-2.0.1+cu118
  Attempting uninstall: librosa
    Found existing installation: librosa 0.10.0.post2
    Uninstalling librosa-0.10.0.post2:
      Successfully uninstalled librosa-0.10.0.post2
  Attempting uninstall: torchaudio
    Found existing installation: torchaudio 2.0.2+cu118
    Uninstalling torchaudio-2.0.2+cu118:
      Successfully uninstalled torchaudio-2.0.2+cu118
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
google-api-core 2.11.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-bigquery 3.10.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-bigquery-connection 1.12.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-bigquery-storage 2.22.0 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-datastore 2.15.2 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-firestore 2.11.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-functions 1.13.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-language 2.9.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
google-cloud-translate 3.11.2 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
googleapis-common-protos 1.59.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0.dev0,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
grpc-google-iam-v1 0.12.6 requires protobuf!=3.20.0,!=3.20.1,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5, but you have protobuf 3.20.1 which is incompatible.
tensorflow 2.12.0 requires protobuf!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.20.3, but you have protobuf 3.20.1 which is incompatible.
tensorflow-metadata 1.13.1 requires protobuf<5,>=3.20.3, but you have protobuf 3.20.1 which is incompatible.
torchdata 0.6.1 requires torch==2.0.1, but you have torch 1.13.1 which is incompatible.
torchtext 0.15.2 requires torch==2.0.1, but you have torch 1.13.1 which is incompatible.
torchvision 0.15.2+cu118 requires torch==2.0.1, but you have torch 1.13.1 which is incompatible.
Successfully installed Mako-1.2.4 alembic-1.11.1 antlr4-python3-runtime-4.9.3 asteroid-filterbanks-0.4.0 backports.cached-property-1.0.2 cmaes-0.10.0 colorama-0.4.6 colorlog-6.7.0 docopt-0.6.2 einops-0.3.2 ffmpeg-python-0.2.0 hmmlearn-0.2.8 hyperpyyaml-1.2.1 julius-0.2.7 librosa-0.9.2 networkx-2.8.8 nvidia-cublas-cu11-11.10.3.66 nvidia-cuda-nvrtc-cu11-11.7.99 nvidia-cuda-runtime-cu11-11.7.99 nvidia-cudnn-cu11-8.5.0.96 omegaconf-2.3.0 optuna-3.2.0 primePy-1.3 protobuf-3.20.1 pyDeprecate-0.3.2 pyannote.audio-2.1.1 pyannote.core-4.5 pyannote.database-4.1.3 pyannote.metrics-3.2.1 pyannote.pipeline-2.3 pytorch-lightning-1.6.5 pytorch-metric-learning-1.7.3 resampy-0.4.2 ruamel.yaml-0.17.28 ruamel.yaml.clib-0.2.7 safetensors-0.3.1 semver-2.13.0 sentencepiece-0.1.99 shellingham-1.5.0.post1 simplejson-3.19.1 singledispatchmethod-1.0 soundfile-0.10.3.post1 speechbrain-0.5.15 torch-1.13.1 torch-audiomentations-0.11.0 torch-pitch-shift-1.2.4 torchaudio-0.13.1 torchmetrics-0.11.4 transformers-4.31.0 whisperx-1.0
WARNING: The following packages were previously imported in this runtime:
  [google,pydevd_plugins]
You must restart the runtime in order to use newly installed versions.
Collecting demucs
  Cloning https://github.com/facebookresearch/demucs to /tmp/pip-install-o_gegll6/demucs_a71d34f8c6de4151968b4555222febf0
  Running command git clone --filter=blob:none --quiet https://github.com/facebookresearch/demucs /tmp/pip-install-o_gegll6/demucs_a71d34f8c6de4151968b4555222febf0
  Resolved https://github.com/facebookresearch/demucs to commit 2e79e6e7f96401c1d35a8628e1557747a9880004
  Preparing metadata (setup.py) ... done
Collecting dora-search (from demucs)
  Downloading dora_search-0.1.12.tar.gz (87 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.1/87.1 kB 2.6 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: einops in /usr/local/lib/python3.10/dist-packages (from demucs) (0.3.2)
Requirement already satisfied: julius>=0.2.3 in /usr/local/lib/python3.10/dist-packages (from demucs) (0.2.7)
Collecting lameenc>=1.2 (from demucs)
  Downloading lameenc-1.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (180 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 180.0/180.0 kB 7.3 MB/s eta 0:00:00
Collecting openunmix (from demucs)
  Downloading openunmix-1.2.1-py3-none-any.whl (46 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.7/46.7 kB 5.9 MB/s eta 0:00:00
Requirement already satisfied: pyyaml in /usr/local/lib/python3.10/dist-packages (from demucs) (6.0.1)
Requirement already satisfied: torch>=1.8.1 in /usr/local/lib/python3.10/dist-packages (from demucs) (1.13.1)
Requirement already satisfied: torchaudio>=0.8 in /usr/local/lib/python3.10/dist-packages (from demucs) (0.13.1)
Requirement already satisfied: tqdm in /usr/local/lib/python3.10/dist-packages (from demucs) (4.65.0)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->demucs) (4.7.1)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->demucs) (11.7.99)
Requirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->demucs) (8.5.0.96)
Requirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->demucs) (11.10.3.66)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->demucs) (11.7.99)
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.8.1->demucs) (67.7.2)
Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.8.1->demucs) (0.41.0)
Requirement already satisfied: omegaconf in /usr/local/lib/python3.10/dist-packages (from dora-search->demucs) (2.3.0)
Collecting retrying (from dora-search->demucs)
  Downloading retrying-1.3.4-py3-none-any.whl (11 kB)
Collecting submitit (from dora-search->demucs)
  Downloading submitit-1.4.5-py3-none-any.whl (73 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.1/73.1 kB 7.0 MB/s eta 0:00:00
Collecting treetable (from dora-search->demucs)
  Downloading treetable-0.2.5.tar.gz (10 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from openunmix->demucs) (1.22.4)
Requirement already satisfied: antlr4-python3-runtime==4.9.* in /usr/local/lib/python3.10/dist-packages (from omegaconf->dora-search->demucs) (4.9.3)
Requirement already satisfied: six>=1.7.0 in /usr/local/lib/python3.10/dist-packages (from retrying->dora-search->demucs) (1.16.0)
Requirement already satisfied: cloudpickle>=1.2.1 in /usr/local/lib/python3.10/dist-packages (from submitit->dora-search->demucs) (2.2.1)
Building wheels for collected packages: demucs, dora-search, treetable
  Building wheel for demucs (setup.py) ... done
  Created wheel for demucs: filename=demucs-4.0.1a2-py3-none-any.whl size=78243 sha256=1b5f6a38b4185bf24485da822aba9ca265b1c2720332e4c07e307cf53c2a07d0
  Stored in directory: /tmp/pip-ephem-wheel-cache-1meacnt1/wheels/45/e4/ca/7791f04b554e5433713e22900eaf11595e27c454fb65ac30ab
  Building wheel for dora-search (pyproject.toml) ... done
  Created wheel for dora-search: filename=dora_search-0.1.12-py3-none-any.whl size=75090 sha256=ba9433fa959ad7416836ac75c036b81052c80455acea86b91910e5ca1dc6a025
  Stored in directory: /root/.cache/pip/wheels/b1/c2/c0/bea5cc405497284d584b958f293ef32c23bad42ae5e44d973c
  Building wheel for treetable (setup.py) ... done
  Created wheel for treetable: filename=treetable-0.2.5-py3-none-any.whl size=7330 sha256=4fecff322eb8f550dd210f20ed0601a60de0ca15aa21eaca324091cac9f55c40
  Stored in directory: /root/.cache/pip/wheels/72/55/0e/91c3655bdb162446f8a7cd477579397544454a63ae7c599c0c
Successfully built demucs dora-search treetable
Installing collected packages: lameenc, treetable, submitit, retrying, dora-search, openunmix, demucs
Successfully installed demucs-4.0.1a2 dora-search-0.1.12 lameenc-1.5.1 openunmix-1.2.1 retrying-1.3.4 submitit-1.4.5 treetable-0.2.5
Collecting deepmultilingualpunctuation
  Downloading deepmultilingualpunctuation-1.0.1-py3-none-any.whl (5.4 kB)
Requirement already satisfied: torch>=1.8.1 in /usr/local/lib/python3.10/dist-packages (from deepmultilingualpunctuation) (1.13.1)
Requirement already satisfied: transformers in /usr/local/lib/python3.10/dist-packages (from deepmultilingualpunctuation) (4.31.0)
Requirement already satisfied: typing-extensions in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->deepmultilingualpunctuation) (4.7.1)
Requirement already satisfied: nvidia-cuda-runtime-cu11==11.7.99 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->deepmultilingualpunctuation) (11.7.99)
Requirement already satisfied: nvidia-cudnn-cu11==8.5.0.96 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->deepmultilingualpunctuation) (8.5.0.96)
Requirement already satisfied: nvidia-cublas-cu11==11.10.3.66 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->deepmultilingualpunctuation) (11.10.3.66)
Requirement already satisfied: nvidia-cuda-nvrtc-cu11==11.7.99 in /usr/local/lib/python3.10/dist-packages (from torch>=1.8.1->deepmultilingualpunctuation) (11.7.99)
Requirement already satisfied: setuptools in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.8.1->deepmultilingualpunctuation) (67.7.2)
Requirement already satisfied: wheel in /usr/local/lib/python3.10/dist-packages (from nvidia-cublas-cu11==11.10.3.66->torch>=1.8.1->deepmultilingualpunctuation) (0.41.0)
Requirement already satisfied: filelock in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (3.12.2)
Requirement already satisfied: huggingface-hub<1.0,>=0.14.1 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (0.16.4)
Requirement already satisfied: numpy>=1.17 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (1.22.4)
Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (23.1)
Requirement already satisfied: pyyaml>=5.1 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (6.0.1)
Requirement already satisfied: regex!=2019.12.17 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (2022.10.31)
Requirement already satisfied: requests in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (2.27.1)
Requirement already satisfied: tokenizers!=0.11.3,<0.14,>=0.11.1 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (0.13.3)
Requirement already satisfied: safetensors>=0.3.1 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (0.3.1)
Requirement already satisfied: tqdm>=4.27 in /usr/local/lib/python3.10/dist-packages (from transformers->deepmultilingualpunctuation) (4.65.0)
Requirement already satisfied: fsspec in /usr/local/lib/python3.10/dist-packages (from huggingface-hub<1.0,>=0.14.1->transformers->deepmultilingualpunctuation) (2023.6.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.10/dist-packages (from requests->transformers->deepmultilingualpunctuation) (1.26.16)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/dist-packages (from requests->transformers->deepmultilingualpunctuation) (2023.7.22)
Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.10/dist-packages (from requests->transformers->deepmultilingualpunctuation) (2.0.12)
Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/dist-packages (from requests->transformers->deepmultilingualpunctuation) (3.4)
Installing collected packages: deepmultilingualpunctuation
Successfully installed deepmultilingualpunctuation-1.0.1
Collecting wget
  Using cached wget-3.2.zip (10 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: wget
  Building wheel for wget (setup.py) ... done
  Created wheel for wget: filename=wget-3.2-py3-none-any.whl size=9656 sha256=234c94cace80fb25b072b6f6c2258b22b321e5a7ef1b69d696176a6be781a284
  Stored in directory: /root/.cache/pip/wheels/8b/f1/7f/5c94f0a7a505ca1c81cd1d9208ae2064675d97582078e6c769
Successfully built wget
Installing collected packages: wget
Successfully installed wget-3.2

Running the next cell which produces error:

import os
import wget
from omegaconf import OmegaConf
import json
import shutil
from faster_whisper import WhisperModel
import whisperx
import torch
import librosa
import soundfile
from nemo.collections.asr.models.msdd_models import NeuralDiarizer
from deepmultilingualpunctuation import PunctuationModel
import re
import logging

Output:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
[<ipython-input-3-f67ce1c278a2>](https://localhost:8080/#) in <cell line: 11>()
      9 import librosa
     10 import soundfile
---> 11 from nemo.collections.asr.models.msdd_models import NeuralDiarizer
     12 from deepmultilingualpunctuation import PunctuationModel
     13 import re

ModuleNotFoundError: No module named 'nemo'

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

To view examples of installing some common dependencies, click the
"Open Examples" button below.

Can you advise on how to resolve this error?

TheGermanEngie commented 1 year ago

I have an issue running the Colab also, except it can't find wget as a dependency, even though in the log it installs wget.

TheGermanEngie commented 1 year ago

Don't know why his comment isn't showing up here, but via email he notified me to do this to fix my "no module named wget" error:

"caused by transformers and pyannote.audio dependencies conflict, add this to the top of the list of dependencies:

!pip install transformers==2.10.0 !pip install pyannote.audio==2.0.1

(may need to restart runtime afterwards)"

So I added these, and !pip install wget to the top, and am now getting the same issue as #70.


ModuleNotFoundError Traceback (most recent call last)

in () 9 import librosa 10 import soundfile---> 11 from nemo.collections.asr.models.msdd_models import NeuralDiarizer 12 from deepmultilingualpunctuation import PunctuationModel 13 import re ModuleNotFoundError: No module named 'nemo' --------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below.--------------------------------------------------------------------------- On Tue, 1 Aug 2023 at 00:50, Abdullah Amir ***@***.***> wrote: > caused by transformers and pyannote.audio dependencies conflict, add this > to the top of the list of dependencies: > > !pip install transformers==2.10.0 > !pip install pyannote.audio==2.0.1 > > (may need to restart runtime afterwards) > > — > Reply to this email directly, view it on GitHub > , > or unsubscribe > > . > You are receiving this because you commented.Message ID: > ***@***.***> >
mrgalindo commented 1 year ago

I confirm having the same issues. I loved this notebook! i hope we can update it in not too long :)

abdullahbaa5 commented 1 year ago

seems like an issue with the python version installed in google colab (it is v3.10)

tested it on my local and 3.8 works but > versions throw out errors

MahmoudAshraf97 commented 1 year ago

the notebook has been fixed and working fine on colab as for 3rd of august 2023

abdullahbaa5 commented 1 year ago

the notebook has been fixed and working fine on colab as for 3rd of august 2023

Awesome can confirm now it works on google colab and newer versions of python (on my local) as well. Thank you.

NasonZ commented 1 year ago

Thank you @MahmoudAshraf97, it's also working for me now as well.

k2m5t2 commented 11 months ago

It seems that the notebook is not working again — installation errors with NeMo. I will try to fix the issue and update when I find time!