问题描述
在安装完librosa之后,运行程序报错“OSError: cannot load library 'libsndfile.so': libsndfile.so: cannot open shared object file: No such file or directory”
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(_path, '_soundfile_data', _packaged_libname))
OSError: cannot load library '/usr/local/lib/python3.6/dist-packages/_soundfile_data/libsndfile.so': /usr/local/lib/python3.6/dist-packages/_soundfile_data/libsndfile.so: cannot open shared object file: No such file or directory
During handlin