Closed subramen closed 1 year ago
We no longer bundle libsox to torchaudio. We ask users to install sox separately. Could you install libsox and try again?
Also enabling debug log (logging.basicConfig(level=logging.DEBUG)
) before import torchaudio
gives more detail of what torchaudio attempts and how it fails to find libsox. If it does not work after installing libsox, please include the log.
Thanks @mthrok. Perhaps https://github.com/pytorch/audio/blob/main/docs/source/backend.rst#availability needs an update to reflect this change?
This might be of help, before installing sox
seperately with apt
:
apt install libsox-dev
🐛 Describe the bug
The nightly version (2.1.0) appears to not find sox.
Repro on colab:
Loading a wav file also errors in the nightly:
Versions