解决报错 OSError: sndfile library not found
import soundfile时报错OSError: sndfile library not found
其他人的方法,试过还是不行
第一步:换个版本 pip install librosa0.6.0
第二步:pip install numba0.48.0
执行:apt-get install libsndfile1
问题解决
查看 SoundFile官网,缺少libsndfile,发现需要安装libsndfile
On Linux, you need to install libsndfile using your distribution’s package manager, for example sudo apt-get install libsndfile1.
官网:https://pypi.org/project/SoundFile/