输入密码后出现了如下报错,求教
rinkwh 发布的最新帖子
-
RE: 语音生成功能+自定义回复
@Anstiya 这回是这个了
python: can't open file '/root/PythonPlugins/bot.ph': [Errno 2] No such file or
directory
[root@VM-24-3-centos PythonPlugins]# python bot.py
Traceback (most recent call last):
File "/usr/local/python3.9/lib/python3.9/site-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/python3.9/lib/python3.9/site-packages/soundfile.py", line 178
, in <module>
_snd = _ffi.dlopen(_os.path.join(_path, '_soundfile_data', packaged_libname
))
OSError: cannot load library '/usr/local/python3.9/lib/python3.9/site-packages/
soundfile_data/libsndfile.so': /usr/local/python3.9/lib/python3.9/site-packages/
_soundfile_data/libsndfile.so: cannot open shared object file: No such file or d
irectory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/PythonPlugins/bot.py", line 6, in <module>
from MoeGoe import voiceGenerate
File "/root/PythonPlugins/MoeGoe.py", line 5, in <module>
from mel_processing import spectrogram_torch
File "/root/PythonPlugins/mel_processing.py", line 3, in <module>
from librosa.filters import mel as librosa_mel_fn
File "/usr/local/python3.9/lib/python3.9/site-packages/librosa/init.py", l
ine 211, in <module>
from . import core
File "/usr/local/python3.9/lib/python3.9/site-packages/librosa/core/init.p
y", line 6, in <module>
from .audio import * # pylint: disable=wildcard-import
File "/usr/local/python3.9/lib/python3.9/site-packages/librosa/core/audio.py",
line 8, in <module>
import soundfile as sf
File "/usr/local/python3.9/lib/python3.9/site-packages/soundfile.py", line 189
, in <module>
_snd = _ffi.dlopen(_libname)
OSError: cannot load library 'libsndfile.so': libsndfile.so: cannot open shared
object file: No such file or directory