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.

scikits.samplerate dependency

See original GitHub issue

The scikits.samplerate dependency in librosa is a soft dependency, meaning that it will fall back gracefully (and slowly) on scipy.signal’s resampler.

The reason for the soft dependency is that the pypi package does not automatically install libsamplerate from source, so the entire install chain for librosa fails.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
dpwecommented, Aug 9, 2015

Since this is the page you get if you Google “librosa scikits.samplerate”, it would be a good place to describe how to resolve this dependency.

For me (Ubuntu 14.04) the following:

sudo apt-get install libsamplerate0-dev sudo pip install scikits.samplerate

… seems to have done the trick.

3reactions
bmcfeecommented, Sep 6, 2015

One more piece of clarification: the main distribution of scikits.samplerate found in pip does not support python 3. There’s a fork that does fix the problem though, which can be easily installed by saying

[sudo] pip install git+https://github.com/gregorias/samplerate.git
Read more comments on GitHub >

github_iconTop Results From Across the Web

scikits.samplerate - PyPI
Samplerate is a small python package to do high quality audio resampling for data in numpy arrays; IOW, it is a matlab resample...
Read more >
42821 (py-scikits-samplerate @0.3.3: new port) - MacPorts Trac
I would need it as a dependency. The Portfile should be pretty commit-ready. py-scikits-samplerate @0.3.3 (python, science, audio) Sub-ports: ...
Read more >
scikits.samplerate 0.3.3 on PyPI - Libraries.io
A python module for high quality audio resampling - 0.3.3 - a package on PyPI - Libraries.io.
Read more >
Installing scikits.samplerate fails - python - Stack Overflow
I'd like to use "scikits.samplerate", but installation fails. I'm using Windows10 (64 Bits) for Python 3.51 with Anaconda.
Read more >
scikit samplerate resample
The resample function of scikits.samplerate and this package share the same function ... If you must install scikit-learn and its dependencies with pip, ......
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