[報錯]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鏈接

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