如果使用用户标志安装deepspeech,命令未找到错误。

问题描述 投票:0回答:1

我在ubuntu 16.04中安装了deepspeech,使用的是

pip install deepspeech --user

但当我使用深层语音 deepspeech -h 在Cli上,它说命令未找到。

我已经尝试了pip和pip3安装,也尝试了重启,但还是说找不到命令。

linux nlp ubuntu-16.04 mozilla-deepspeech
1个回答
0
投票

用pip --user标志安装,将包安装在用户目录下,而不是根目录下,例如:Users...LibraryPython2.7bin。

运转: export PATH=$PATH:/Users/.../Library/Python/2.7/bin

并将上述命令添加到你的 ~/.bash_profile

参考资料。Stackoverflow

© www.soinside.com 2019 - 2024. All rights reserved.