yeyupiaoling / PPASR

基于PaddlePaddle实现端到端中文语音识别,从入门到实战,超简单的入门案例,超实用的企业项目。支持当前最流行的DeepSpeech2、Conformer、Squeezeformer模型
Apache License 2.0
824 stars 129 forks source link

paddlespeech_ctcdecoders安装不了 #177

Closed SSTato closed 7 months ago

SSTato commented 7 months ago

centos7、python3.11.7下安装 python -m pip install paddlespeech_ctcdecoders -U -i https://ppasr.yeyupiaoling.cn/pypi/simple/后,import paddlespeech_ctcdecoders失败,pip list看是安装上了。 File "/home/ai/anaconda3/envs/chat-0.2.10/lib/python3.11/site-packages/ppasr/decoders/swig_wrapper.py", line 1, in import paddlespeech_ctcdecoders ModuleNotFoundError: No module named 'paddlespeech_ctcdecoders'

import paddlespeech_ctcdecoders Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'paddlespeech_ctcdecoders'

在window10、python3.11.0是没问题的,python3.11/site-packages文件夹下有paddlespeech_ctcdecoders-0.2.2.dist-info和paddlespeech_ctcdecoders.py。但是去centos7的python3.11/site-packages下看只有paddlespeech_ctcdecoders-0.2.2.dist-info这个文件夹,这是为什么,直接安装(https://ppasr.yeyupiaoling.cn/pypi/simple/paddlespeech-ctcdecoders/paddlespeech_ctcdecoders-0.2.2-cp311-cp311-linux_x86_64.whl)这个whl文件也不行

SSTato commented 7 months ago

centos7中python3.10.13是可以的,应该是python版本的问题吧

yeyupiaoling commented 7 months ago

对的,不支持3:11。