WhisperX を利用するために,Python 3.10 の新たな仮想環境を py310whisperx という名前で作成します.
conda create -n py310whisperx python=3.10 -y
作成した仮想環境を有効にします.
conda activate py310whisperx
次のコマンドで whisperx をインストールします.
pip install whisperx
whisperx とともに torch, torchaudio などがインストールされているはずなので確認します.
(py310whisperx) whisperx % pip list | grep whisper ⏎ faster-whisper 1.2.1 whisperx 3.8.6 (py310whisperx) whisperx % pip list | grep torch ⏎ pytorch-lightning 2.6.5 pytorch-metric-learning 2.9.0 torch 2.8.0 torch-audiomentations 0.12.0 torch_pitch_shift 1.2.5 torchaudio 2.8.0 torchcodec 0.7.0 torchmetrics 1.9.0 torchvision 0.23.0 (py310whisperx) whisperx