安装部署librosa+numpy+ffmpeg+speex

librosa需要的依赖包有numpy,scipy,six,audioread,resample,scikit-learn,joblib,Cython    #112.74.133.241:/home/Vengine

yum install -y  numpy scipy six audioread resample scikit-learn joblib Cython

yum install -y gcc libffi-devel python-devel openssl-devel

pip install numpy

pip install librosa

echo “/usr/local/ffmpeg/lib” >> /etc/ld.so.conf

echo “export PATH=$PATH:/usr/local/ffmpeg/bin” >>/etc/profile

source /etc/profile

./configure --enable-shared --prefix=/usr/local/ffmpeg

./configure --profile=/usr/local/speex

wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh

bash Miniconda3-latest-Linux-x86_64.sh

source ~/.bashrc

conda install -c conda-forge librosa

你可能感兴趣的:(安装部署librosa+numpy+ffmpeg+speex)