[报错]Import soundfile: OSError: sndfile library not found

报错Import soundfile: OSError: sndfile library not found

Author: Xin Pan

Date: 2020.03.31


实验环境

Ubuntu 16.04+Anaconda3 with python3.7

问题

今天进行demucs(见下边链接)的实验,里边用到了python中的sounfile这个库,import之后报错:

OSError: sndfile library not found

解决

sudo su # 确保自己是su用户
apt update
apt install libsndfile1

这样应该就是可以了。

Reference

facebook/demucs链接

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章