Skip to content

NoBackendError #9

@xiaoyongzhu

Description

@xiaoyongzhu

Just want to raise this issue in case someone also encountered this (and share my solution). I will get this no backend error:

Traceback (most recent call last):
  File "CNNClassifier.py", line 54, in <module>
    features,labels = extract_features(parent_dir,sub_dirs)
  File "CNNClassifier.py", line 25, in extract_features
    sound_clip,s = librosa.load(fn)
  File "/datadrive/xiaoyzhu/python2env/local/lib/python2.7/site-packages/librosa/core/audio.py", line 107, in load
    with audioread.audio_open(os.path.realpath(path)) as input_file:
  File "/datadrive/xiaoyzhu/python2env/local/lib/python2.7/site-packages/audioread/__init__.py", line 116, in audio_open
    raise NoBackendError()

In Ubuntu, I use
sudo apt-get install libav-tools

and this issue get solved.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions