美文网首页我爱编程
安装部署librosa+numpy+ffmpeg+speex

安装部署librosa+numpy+ffmpeg+speex

作者: k小男生 | 来源:发表于2017-09-12 15:34 被阅读0次

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

    本文链接:https://www.haomeiwen.com/subject/uivcsxtx.html