Skip to content Skip to sidebar Skip to footer

Librosa: Installs Properly Only With Clone Git And Cannot Use Any Functions Though It Imports

I'm quite a newbie with python, and programming in general, and I am currently struggling with installing and using the library librosa. I thought I succeeded installing it with: g

Solution 1:

It makes that sense that when you install librosa it would fail on scipy/numpy/llvmlite. pip will automatically try to install the dependencies for librosa.

You definitely want to install using pip. The github repo of librosa is not packaged the same, and it's meant for people working on librosa code, rather than using it as a library.

On a raspberry-pi system, pip install --user librosa is what you want.

Keep in mind that some of the python packages are just wrappers around C code. When you pip install llvmlite you're just installing the wrapper.

I'd look at this answer on a similar question here: https://stackoverflow.com/a/46840976/564872

specifically the line: sudo apt install libblas-dev llvm python3-pip python3-scipy (assuming that you're using python3)

Post a Comment for "Librosa: Installs Properly Only With Clone Git And Cannot Use Any Functions Though It Imports"