-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install error: No audio backend is available #12
Comments
try this |
I needed to manually install Torch with the command from this website (https://pytorch.org/get-started/locally/) in the anaconda environment; the requirements.txt does not install it properly. I also installed SoundFile (pip install soundfile) as described in that Stack Overflow link you posted. |
Sorry if I wasn't clear. I was able to figure out what dependencies were needed and install them myself. This issue is about adding that info to the installation instructions so other users wouldn't have to do that troubleshooting themselves. |
would Dockerfile be fine for you? I am trying to do one |
I ran into this same error. I'd love if there's clear instructions to fix it. |
I am seeing this warning when I start the flask server: however it seems like inference is successful - I still haven't verified that actual sounds are produced. is this the same problem? can you please share how to remove this warning? |
That most likely means you have From: https://pysoundfile.readthedocs.io/en/latest/#installation
|
Hopefully this allows the soundfile pip package to work, which provides torchaudio with an audio backend. Closes: #12 Topic: install_libsndfile
Hopefully this allows the soundfile pip package to work, which provides torchaudio with an audio backend. Closes: #12 Topic: install_libsndfile
Thanks for the tip @mthrok ! I added |
The installation instructions do not contain information on how to install an audio backend for torch audio, so an error is thrown on startup if not audio backend is installed:
https://stackoverflow.com/questions/62543843/cannot-import-torch-audio-no-audio-backend-is-available
The text was updated successfully, but these errors were encountered: