问题描述
在安装完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
安装librosa后,运行代码出现'OSError',提示无法打开'shared object file' 'libsndfile.so'。解决方法即将被揭示。
最低0.47元/天 解锁文章
4万+

被折叠的 条评论
为什么被折叠?



