Torchaudio.load is not able to find the backend soundfile

I’m trying to read an audio file
data,sr = torchaudio.load(sample_wav)
But it is throwing an error
“RuntimeError: torchaudio.backend.soundfile_backend.load requires soundfile”

But
str(torchaudio.get_audio_backend()) → gives
‘soundfile’

torch 1.10.2
WIndows (So can’t use sox)

Hi @Rakshith_V, have you pip installed soundfile in your environment?

1 Like

ya I did
I’m able to run
import soundfile

but I have issues with reading from torchaudio