pythonc++python-3.xpytorchtorchaudio

UserWarning: torchaudio C++ extension is not available


can someone please help me out with this UserWarning in torchaudio?

ErrorMessage:

C:\Users\anaconda3\lib\site-packages\torchaudio\extension\extension.py:14:
UserWarning: torchaudio C++ extension is not available.
  warnings.warn('torchaudio C++ extension is not available.')

Thank's in advance!


Solution

  • https://pytorch.org/audio/stable/backend.html says like this:

    Availability

    "sox" and "sox_io" backends require C++ extension module, which is included in Linux/macOS binary distributions. These backends are not available on Windows.

    So you have a wrong operating system or backend selected. Depends point of view :)