Advertisement

Fix the OSError caused by missing 'libsndfile.so' library

阅读量:

问题描述

完成librosa库的安装后,在执行程序时出现错误提示:“OSError: 无法加载库 'libsndfile.so':libsndfile.so:无法打开共享对象文件:没有该文件或目录”。

复制代码
 Traceback (most recent call last):

    
   File "/usr/local/lib/python3.6/dist-packages/soundfile.py", line 151, in <module>
    
     raise OSError('sndfile library not found')
    
 OSError: sndfile library not found
    
  
    
 During handling of the above exception, another exception occurred:
    
  
    
 Traceback (most recent call last):
    
   File "/usr/local/lib/python3.6/dist-packages/soundfile.py", line 178, in <module>
    
     _snd = _ffi.dlopen(_os.path.join(_pat

全部评论 (0)

还没有任何评论哟~