Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install pip3 install deepspeech --upgrade #3

Open
hackebike opened this issue Feb 6, 2021 · 3 comments
Open

Cannot install pip3 install deepspeech --upgrade #3

hackebike opened this issue Feb 6, 2021 · 3 comments

Comments

@hackebike
Copy link

I tried the installation on Raspberry PI 4 OS 54 bit and got errors:

pip3 install deepspeech --upgrade
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting deepspeech
Could not find a version that satisfies the requirement deepspeech (from versions: )
No matching distribution found for deepspeech

any ideas?

@lastlap
Copy link

lastlap commented Feb 26, 2021

Try
sudo apt-get update
sudo apt-get upgrade
pip3 install deepspeech --no-cache-dir

@TVI-BIZ
Copy link

TVI-BIZ commented Oct 8, 2021

I try on Raspberry Pi Desktop:
pip3 install deepspeech --upgrade
No matching distribution found for deepspeech:
Also try your reply - same error.
Could you please help me?

@bmswens
Copy link

bmswens commented Dec 26, 2022

If you're encountering the No matching distribution found for deepspeech error, please ensure that you're using Python version 3.7.

Newer versions of Python are not support by deepspeech and that's why pip is unable to find a matching distro.

Note: This will install the deepspeech CLI regardless of Python version:

curl -LO https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/native_client.rpi3.cpu.linux.tar.xz
tar -xf native_client.rpi3.cpu.linux.tar.xz
sudo apt install -y libsox-dev
./deepspeech --model deepspeech-0.9.3-models.tflite --scorer deepspeech-0.9.3-models.scorer --audio audio/2830-3980-0043.wav

You must add the ./ in front of deepspeech because it unpacks the executable to the local directory.
This could then be resolved by adding that directory to your path or creating a softlink to it in /bin, or similar location.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants