Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OSError: sndfile library not found #31

Open
etetteh opened this issue Oct 3, 2019 · 0 comments
Open

OSError: sndfile library not found #31

etetteh opened this issue Oct 3, 2019 · 0 comments

Comments

@etetteh
Copy link

etetteh commented Oct 3, 2019

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
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
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant