報錯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
這樣應該就是可以了。