Created
October 20, 2017 00:53
-
-
Save matthewberryman/83d7dedb14a85b81866b486b4e5fe02e to your computer and use it in GitHub Desktop.
requirements.txt for librosa on RPi3 with llvm-3.8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
audioread==2.1.5 | |
cryptography==1.7.1 | |
decorator==4.0.11 | |
idna==2.2 | |
joblib==0.11 | |
keyring==10.1 | |
keyrings.alt==1.3 | |
librosa==0.5.1 | |
llvmlite==0.15.0 | |
numba==0.30.1 | |
numpy==1.12.1 | |
pyasn1==0.1.9 | |
pycrypto==2.6.1 | |
pygobject==3.22.0 | |
python-apt==1.1.0b5 | |
pyxdg==0.25 | |
resampy==0.2.0 | |
scikit-learn==0.19.0 | |
scipy==0.18.1 | |
SecretStorage==2.3.1 | |
six==1.10.0 | |
virtualenv==15.1.0 |
@matthewberryman sir,
I followed your requirements.txt to pip install it in my RPi 3 B+(stretch)
I got this ,
>>> import librosa
RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
RuntimeError: module compiled against API version 0xb but this version of numpy is 0xa
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/pi/.local/lib/python3.5/site-packages/librosa/__init__.py", line 12, in <module>
from . import core
File "/home/pi/.local/lib/python3.5/site-packages/librosa/core/__init__.py", line 109, in <module>
from .audio import * # pylint: disable=wildcard-import
File "/home/pi/.local/lib/python3.5/site-packages/librosa/core/audio.py", line 12, in <module>
import resampy
File "/home/pi/.local/lib/python3.5/site-packages/resampy/__init__.py", line 7, in <module>
from .core import *
File "/home/pi/.local/lib/python3.5/site-packages/resampy/core.py", line 9, in <module>
from .interpn import resample_f
File "/home/pi/.local/lib/python3.5/site-packages/resampy/interpn.py", line 4, in <module>
import numba
File "/home/pi/.local/lib/python3.5/site-packages/numba/__init__.py", line 23, in <module>
from .decorators import autojit, cfunc, generated_jit, jit, njit
File "/home/pi/.local/lib/python3.5/site-packages/numba/decorators.py", line 11, in <module>
from .targets import registry
File "/home/pi/.local/lib/python3.5/site-packages/numba/targets/registry.py", line 6, in <module>
from . import cpu
File "/home/pi/.local/lib/python3.5/site-packages/numba/targets/cpu.py", line 10, in <module>
from .base import BaseContext, PYOBJECT
File "/home/pi/.local/lib/python3.5/site-packages/numba/targets/base.py", line 17, in <module>
from numba import _dynfunc, _helperlib
ImportError: numpy.core.multiarray failed to import
the numpy version I use is 1.12.1
please help!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why pip uninstalls the newer versions and tries to downgrade this packages?
really librosa make me crasy !