How to fix error: apply_effects_tensor requires sox extension which is not available

#26
by jinqiuqiujin - opened

This is because pytorchaudio.so couldn't find the symble sox_open_write:

image.png

To fix this:
1). install sox: sudo apt install sox
2). find which libsox.so is being used by torchaudio.so:

image.png
3). back up /lib/libsox.so, and create a symbolic link to the actual libsox.so:

sudo mv /lib/libsox.so /lib/libsox_bak.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libsox.so.3 /lib/libsox.so
AI at Meta org

It looks like someone else who had this issue was able to fix it here: https://huggingface.co/spaces/facebook/seamless-streaming/discussions/32, could you try it out and see if it works for you?

Sign up or log in to comment