#1382·whisperX

error message whisperx python

Author: bert-ilCreated Mar 17, 2026Updated Aug 24, 2026

Hi,

       .-------------------------:                    bertil@cachyos-x8664
      .+=========================.                    --------------------
     :++===++==================-       :++-           OS: CachyOS x86_64
    :*++====+++++=============-        .==:           Host: MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports) (1.0)
   -*+++=====+***++==========:                        Kernel: Linux 6.19.7-1-cachyos
  =*++++========------------:                         Uptime: 2 mins
 =*+++++=====-                     ...                Packages: 1774 (pacman)

.++++++=-===: .=+++=: Shell: fish 4.5.0 :++++=====-==: -****+ Display (Color LCD): 2560x1600 @ 1.5x in 13", 60 Hz [Built-in] :++========-=. .=++. DE: KDE Plasma 6.6.2 .+==========-. . WM: KWin (Wayland) :+++++++====- .--==-. WM Theme: Breeze :++==========. :+++++++: Theme: Breeze (Dark) [Qt], Breeze-Dark [GTK2], Breeze [GTK3] .-===========. =**++ Icons: breeze-dark [Qt], breeze-dark [GTK2/3/4] .-===========: .++: Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4] -=======++++:::::::::::::::::::::::::-: .---: Cursor: capitaine (24px) :======++++====+++*************=. Terminal: qterminal 2.3.0 :=====+++==========++++++++++++++- Terminal Font: Monospace (12pt) .====++==============++++++++++- CPU: Intel(R) Core(TM) i5-8257U (8) @ 3.90 GHz .===+==================+++++++: GPU: Intel Iris Plus Graphics 645 @ 1.05 GHz [Integrated] .-=======================+++: Memory: 2.88 GiB / 15.46 GiB (19%) .......................... Swap: 0 B / 35.61 GiB (0%) Disk (/): 23.71 GiB / 44.67 GiB (53%) - ext4 Disk (/home): 44.49 GiB / 159.42 GiB (28%) - ext4 Local IP (wlan0): 192.168.8.111/24 Battery (bq20z451): 40% (1 hour, 34 mins remaining) [Discharging] Locale: en_US.UTF-8

vx whisperx The_Call_of_South_Africa.wav --model base --language en Installed 122 packages in 593ms

/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/util.py:182: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. sep="\s+", /home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/util.py:216: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. sep="\s+", /home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/util.py:253: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. sep="\s+", /home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/util.py:284: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. data = pd.read_csv(file_uem, names=names, dtype=dtype, sep="\s+") /home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/util.py:309: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. data = pd.read_csv(path, names=names, dtype=dtype, sep="\s+") /home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/loader.py:93: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. file_trial, sep="\s+", names=["reference", "uri1", "uri2"] /home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/loader.py:292: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. ctm, names=names, dtype=dtype, sep="\s+" /home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/database/loader.py:357: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\s"? A raw string is also an option. mapping, names=names, dtype=dtype, sep="\s+" Traceback (most recent call last): File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/bin/whisperx", line 12, in sys.exit(cli()) ~~~^^ File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/whisperx/main.py", line 95, in cli from whisperx.transcribe import transcribe_task File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/whisperx/transcribe.py", line 10, in from whisperx.asr import load_model File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/whisperx/asr.py", line 16, in from whisperx.vads import Vad, Silero, Pyannote File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/whisperx/vads/init.py", line 1, in from whisperx.vads.pyannote import Pyannote as Pyannote File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/whisperx/vads/pyannote.py", line 7, in from pyannote.audio import Model File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/audio/init.py", line 29, in from .core.inference import Inference File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/audio/core/inference.py", line 36, in from pyannote.audio.core.model import Model, Specifications File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/audio/core/model.py", line 47, in from pyannote.audio.core.task import ( ...<4 lines>... ) File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/audio/core/task.py", line 51, in from pyannote.audio.utils.protocol import check_protocol File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/audio/utils/protocol.py", line 31, in get_duration = Audio(mono="downmix").get_duration ~~~~~^^^^^^^^^^^^^^^^ File "/home/bertil/.cache/uv/archive-v0/j8SCgdeTXc3ILdlJ5Z7MI/lib/python3.14/site-packages/pyannote/audio/core/io.py", line 212, in init torchaudio.list_audio_backends() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: module 'torchaudio' has no attribute 'list_audio_backends'

~ 28s ❯

Thank you for your help. Do I need to use a special version of python?