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

what do missing here? #7

Open
johnfelipe opened this issue Jun 17, 2021 · 1 comment
Open

what do missing here? #7

johnfelipe opened this issue Jun 17, 2021 · 1 comment

Comments

@johnfelipe
Copy link

  File "gradiodemo.py", line 13, in <module>
    from data_utils import TextAudioLoader, TextAudioCollate, TextAudioSpeakerLoader, TextAudioSpeakerCollate
  File "/root/vits/data_utils.py", line 9, in <module>
    from mel_processing import spectrogram_torch
  File "/root/vits/mel_processing.py", line 9, in <module>
    import librosa
  File "/usr/local/lib/python3.8/dist-packages/librosa/__init__.py", line 211, in <module>
    from . import core
  File "/usr/local/lib/python3.8/dist-packages/librosa/core/__init__.py", line 6, in <module>
    from .audio import *  # pylint: disable=wildcard-import
  File "/usr/local/lib/python3.8/dist-packages/librosa/core/audio.py", line 8, in <module>
    import soundfile as sf
  File "/usr/local/lib/python3.8/dist-packages/soundfile.py", line 142, in <module>
    raise OSError('sndfile library not found')
OSError: sndfile library not found
@leminhnguyen
Copy link

@johnfelipe I think you need to install the libsndfile1 back-end for the soundfile library via:

sudo apt-get install libsndfile1

Check more details at Can't import soundfile python

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

2 participants