Index
安装
conda install libopus -y
conda install ffmpeg -y
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
conda remove -n xiaozhi-esp32-server --all -y
conda create -n xiaozhi-esp32-server python=3.10 -y
conda activate xiaozhi-esp32-server
# 添加清华源通道
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge
conda install libopus -y
conda install ffmpeg -y
# 在 Linux 环境下进行部署时,如出现类似缺失 libiconv.so.2 动态库的报错 请通过以下命令进行安装
conda install libiconv -y
请注意,以上命令,不是一股脑执行就成功的,你需要一步步执行,每一步执行完后,都检查一下输出的日志,查看是否成功。
cd main/xiaozhi-server pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/ pip install -r requirements.txt
- No matching distribution found for sherpa_onnx==1.12.17
sherpa_onnx 改为1.12.19
https://github.com/xinnan-tech/xiaozhi-esp32-server/blob/main/docs/Deployment.md#%E6%A8%A1%E5%9E%8B%E6%96%87%E4%BB%B6
唤醒功能
Q&A
[core.providers.asr.fun_local]-ERROR-语音识别失败: string indices must be integers
查看sensevoicesmall model 是否存在