Skip to content
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

audioread.exceptions.NoBackendError #99

Open
kevinniland opened this issue Nov 3, 2019 · 3 comments
Open

audioread.exceptions.NoBackendError #99

kevinniland opened this issue Nov 3, 2019 · 3 comments

Comments

@kevinniland
Copy link

Getting the above error when attempting to run a script. The script in question is from the project https://github.com/thomas-bouvier/music-genre-recognition. When attempting to train the model by running main.py, I get the following traceback:
Traceback (most recent call last): File "main.py", line 409, in <module> main(args) File "main.py", line 80, in main data_x, data_y = load_data(args.debug) File "main.py", line 333, in load_data signal, sr = librosa.load(path + "/" + subdir + "/" + file) File "C:\Users\kevin\AnacondaPython\Lib\site-packages\librosa\core\audio.py", line 119, in load with audioread.audio_open(os.path.realpath(path)) as input_file: File "C:\Users\kevin\AnacondaPython\Lib\site-packages\audioread\__init__.py", line 116, in audio_open raise NoBackendError() audioread.exceptions.NoBackendError

I have installed ffmpeg, as others have suggested from what I've seen online but I still get the aforementioned error. I am using Windows 10.

@sampsyo
Copy link
Member

sampsyo commented Nov 3, 2019

Sorry; there’s not much we can do to help without more details about exactly what’s going on with the invocation of this library and about your system setup. You might want to consider making sure that ffmpeg is available on the command line (i.e., your PATH environment variable includes the location where it lives).

@kevinniland
Copy link
Author

ffmpeg is available on the command line, I've already checked that.

@bum-bum-pav
Copy link

ffmpeg is available on the command line, I've already checked that.

Did you remember the solution i am getting same error now. I am using python 3.9 and ffmpeg is available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants