HaujetZhao / CapsWriter-Offline

CapsWriter 的离线版,一个好用的 PC 端的语音输入工具
2.78k stars 226 forks source link

Python310 下报错无指定的 sherpa_onnx 版本 #23

Closed shandianchengzi closed 8 months ago

shandianchengzi commented 9 months ago
ERROR: Could not find a version that satisfies the requirement sherpa_onnx==1.5.4 (from versions: 1.8.9, 1.8.10, 1.8.11, 1.8.14, 1.9.0, 1.9.1, 1.9.3, 1.9.4)
ERROR: No matching distribution found for sherpa_onnx==1.5.4

我的环境:Windows10,Python3.10.0, 测试了我自己的清华源和 https://mirror.sjtu.edu.cn/pypi/web/simple,都是一样的报错。 对应的requirements文件:

rich
websockets
numpy==1.23.3
typeguard==2.13.3
sherpa_onnx==1.5.4
funasr_onnx==0.0.6
kaldi-native-fbank==1.17

不过,去掉版本指定之后,安装依赖、执行 python 程序,可用。 离线版 exe 也可用,而且 exe 特别丝滑,感谢作者!

HaujetZhao commented 8 months ago

更新了,现在支持无限长时间语音识别了。