Spaces:
Running
on
T4
Running
on
T4
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:
To fix this:
1). install sox: sudo apt install sox
2). find which libsox.so is being used by torchaudio.so:
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
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?