question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When running the example I receive this error

In[2]:

import matplotlib, librosa
In [3]:

import IPython.display
import numpy as np
In [4]:

import matplotlib.pyplot as plt
%matplotlib inline
In [12]:

y, sr = librosa.load(librosa.util.example_audio_file())
---------------------------------------------------------------------------
NoBackendError                            Traceback (most recent call last)
<ipython-input-12-1c3f0c525dc9> in <module>()
----> 1 y, sr = librosa.load(librosa.util.example_audio_file())

/Library/Python/2.7/site-packages/librosa/core/audio.pyc in load(path, sr, mono, offset, duration, dtype)
    106 
    107     y = []
--> 108     with audioread.audio_open(os.path.realpath(path)) as input_file:
    109         sr_native = input_file.samplerate
    110 

/Library/Python/2.7/site-packages/audioread/__init__.pyc in audio_open(path)
     94 
     95     # All backends failed!
---> 96     raise NoBackendError()

NoBackendError: 

Any Ideas as to what could be causing this? I am running the example in Ipython notebook and OSX Yosemite 10.10

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:10
  • Comments:30 (7 by maintainers)

github_iconTop GitHub Comments

118reactions
macramolecommented, Feb 22, 2017

The solution for ubuntu based systems is: sudo apt-get install libav-tools

33reactions
bmcfeecommented, Jul 9, 2015

Were you able to resolve this?

I suspect the problem is a missing ogg vorbis codec for audioread. Installing ffmpeg or gstreamer (with plugins) should fix this for you.

.wav files should work out of the box, but we don’t ship the demo track in wav.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sorry, no backends available. Please try again later. #968
Hi, I am getting this issue right now. My colab is not connecting to runtime, Only showing Allocating and after a long time...
Read more >
Build apps like there is noBackend!
noBackend is an approach to decouple apps from backends, by abstracting backend tasks with frontend code (Dreamcode). This allows frontend developers to focus ......
Read more >
Exception in thread "main" cucumber.runtime ... - Stack Overflow
This error is thrown when no 'backends' are found on the classpath. There is a 'backend' for each supported language (e.g. cucumber-java, cucumber-groovy ......
Read more >
Basic setup: configuring database connectivity
This shows you how to configure the Generic SQLite3 backend. ... Make sure no error is reported, and use systemctl status pdns to...
Read more >
Backend services overview | Load Balancing - Google Cloud
This section discusses how instance groups work with the backend service. Backend VMs and external IP addresses. Backend VMs in backend services do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found