声纹识别环境初次搭建

原链接:https://blog.doiduoyi.com/articles/1588569392402.html

1.打开annaconda prompt,输入命令安装pytest-runner和librosa,还有pyaudio

pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com  pytest-runner
pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com  librosa

出现错误:

 执行卸载命令后再重新安装:

conda uninstall llvmlite

pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com librosa

检查是否安装上了:

接下来安装pyaudio和pydub:

pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com pyaudio
pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com pydub
 
原文地址:https://www.cnblogs.com/wddx5/p/13891444.html