I installed deepspeech in ubuntu 16.04 using
pip install deepspeech --user
but when I use deepspeech deepspeech -h
on cli it says command not found.
I have tried both pip and pip3 for installation, also tried restarting but it still says command not found.
Advertisement
Answer
Installing with pip –user flag, installs the package in the user directory rather than the root directory. Ex: /Users/…/Library/Python/2.7/bin
Run: export PATH=$PATH:/Users/.../Library/Python/2.7/bin
and add the above command to your ~/.bash_profile
Reference: Stackoverflow