vincentherrmann / pytorch-wavenet

An implementation of WaveNet with fast generation
MIT License
968 stars 225 forks source link

OSError: sndfile library not found #31

Open etetteh opened 4 years ago

etetteh commented 4 years ago

Please, I really need some help here. I am trying to use the pytorch-wavenet architecture to predict a time series data (csv files), but I get the following error:

Traceback (most recent call last): File "/home/jupyter-belona/.conda/envs/mimic-proj/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/jupyter-belona/.conda/envs/mimic-proj/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/jupyter-belona/Untitled_Folder/deep-learning-clinical-forecast/mimic3newmodels/decompensation/main.py", line 74, in model_module = imp.load_source(os.path.basename(args.network), args.network) File "/home/jupyter-belona/.conda/envs/mimic-proj/lib/python3.7/imp.py", line 171, in load_source module = _load(spec) File "", line 696, in _load File "", line 677, in _load_unlocked File "", line 728, in exec_module File "", line 219, in _call_with_frames_removed File "pytorch_wavenet/wavenet_model.py", line 5, in from pytorch_wavenet.audio_data import File "/home/jupyter-belona/Untitled_Folder/deep-learning-clinical-forecast/pytorch_wavenet/audio_data.py", line 8, in <mo dule> import librosa as lr File "/home/jupyter-belona/.conda/envs/mimic-proj/lib/python3.7/site-packages/librosa/init.py", line 13, in from . import core File "/home/jupyter-belona/.conda/envs/mimic-proj/lib/python3.7/site-packages/librosa/core/init.py", line 115, in <mo dule> from .audio import # pylint: disable=wildcard-import File "/home/jupyter-belona/.conda/envs/mimic-proj/lib/python3.7/site-packages/librosa/core/audio.py", line 8, in import soundfile as sf File "/home/jupyter-belona/.conda/envs/mimic-proj/lib/python3.7/site-packages/soundfile.py", line 142, in raise OSError('sndfile library not found') OSError: sndfile library not found

Has anyone used the architecture for such task before? Can anyone help me out?

Please, treat as urgent. Thank you