Mrw*_*lfy 6 python audio libsndfile
试图在Mac上安装scikits.audiolab-0.11.0,它需要libsndfile:http://www.mega-nerd.com/libsndfile/.我确实使用libsndfile_python-1.0.0-py2.7-macosx10.5.mpkg安装了libsndfile,但是audiolab设置错误:找不到libsndfile库.audiolab安装程序的错误如下.它表明libsndfile的位置可以在site.cfg中指定.
我对这些类型的安装缺乏经验是妨碍了解这一点.任何人都可以就如何完成这项工作提出一些建议吗?或者回答下面的问题?
顺便说一下,我检查了我的/ usr/lib目录并且没有libsndfile.我认为默认情况下,audiolab设置会查找文件.
感谢阅读和任何帮助.
audiolab安装程序出错:
numpy.distutils.system_info.NotFoundError: sndfile (http://www.mega-nerd.com/libsndfile/) library not found.
Directories to search for the libraries can be specified in the
site.cfg file, in section [sndfile].
Run Code Online (Sandbox Code Playgroud)
要在mac中安装libdsnd(在Yosemite 10.10.3中测试):
1-安装Homebrew(将其粘贴在终端上):
ruby -e"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2-安装libsnd:
brew install libsndfile
Run Code Online (Sandbox Code Playgroud)
3-链接libsnd:
brew link --overwrite libsndfile
Run Code Online (Sandbox Code Playgroud)
4-安装scikits.audiolab:
sudo easy_install scikits.audiolab
Run Code Online (Sandbox Code Playgroud)
你去!
| 归档时间: |
|
| 查看次数: |
9021 次 |
| 最近记录: |