You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
环境win10,python 3.10.9(anaconda)
执行语音识别的测试代码如下:
from paddlespeech.cli.asr.infer import ASRExecutor
asr = ASRExecutor()
result = asr(audio_file="zh.wav")
报错信息如下:
PS C:\Users\Administrator> & D:/ProgramData/Anaconda3/envs/ftn/python.exe c:/Users/Administrator/padddleSpeech.py
D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddleaudio_extension.py:141: UserWarning: paddleaudio C++ extension is not available.
warnings.warn("paddleaudio C++ extension is not available.")
[nltk_data] Error loading averaged_perceptron_tagger: Remote end
[nltk_data] closed connection without response
[nltk_data] Downloading package cmudict to
[nltk_data] C:\Users\Administrator\AppData\Roaming\nltk_data...
[nltk_data] Unzipping corpora\cmudict.zip.
Traceback (most recent call last):
File "c:\Users\Administrator\padddleSpeech.py", line 1, in
from paddlespeech.cli.asr.infer import ASRExecutor
File "D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddlespeech\cli_init_.py", line 24, in
from .vector import VectorExecutor
File "D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddlespeech\cli\vector_init_.py", line 14, in
from .infer import VectorExecutor
File "D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddlespeech\cli\vector\infer.py", line 25, in
from paddleaudio.backends import load as load_audio
ImportError: cannot import name 'load' from 'paddleaudio.backends' (D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddleaudio\backends_init_.py)
The text was updated successfully, but these errors were encountered:
环境win10,python 3.10.9(anaconda)
执行语音识别的测试代码如下:
from paddlespeech.cli.asr.infer import ASRExecutor
asr = ASRExecutor()
result = asr(audio_file="zh.wav")
报错信息如下:
PS C:\Users\Administrator> & D:/ProgramData/Anaconda3/envs/ftn/python.exe c:/Users/Administrator/padddleSpeech.py
D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddleaudio_extension.py:141: UserWarning: paddleaudio C++ extension is not available.
warnings.warn("paddleaudio C++ extension is not available.")
[nltk_data] Error loading averaged_perceptron_tagger: Remote end
[nltk_data] closed connection without response
[nltk_data] Downloading package cmudict to
[nltk_data] C:\Users\Administrator\AppData\Roaming\nltk_data...
[nltk_data] Unzipping corpora\cmudict.zip.
Traceback (most recent call last):
File "c:\Users\Administrator\padddleSpeech.py", line 1, in
from paddlespeech.cli.asr.infer import ASRExecutor
File "D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddlespeech\cli_init_.py", line 24, in
from .vector import VectorExecutor
File "D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddlespeech\cli\vector_init_.py", line 14, in
from .infer import VectorExecutor
File "D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddlespeech\cli\vector\infer.py", line 25, in
from paddleaudio.backends import load as load_audio
ImportError: cannot import name 'load' from 'paddleaudio.backends' (D:\ProgramData\Anaconda3\envs\ftn\lib\site-packages\paddleaudio\backends_init_.py)
The text was updated successfully, but these errors were encountered: