skip to Main Content

I am attempting to install the Deepspeech library for Python on my Ubuntu 22.04 system.

I’ve created a virtual environment and then run pip install deepspeech. However, all I get back is the following error:

ERROR: Could not find a version that satisfies the requirement deepspeech (from versions: none)
ERROR: No matching distribution found for deepspeech

I can access deepspeech on tbe Pypi website so I know it’s there. Could this have something to do with the fact that I’m running Python 3.10?

Any suggestions appreciated.

Thanks

2

Answers


  1. yes, it seems the latest release is for 3.9 as seen in pip and this issue and the release notes

    Perhaps try installing another python version alongside 3.10.

    To be fair, if I were you I’d probably spin up a virtual machine instead of messing with my daily driver’s python installations. Or find a different, maintained library.

    Intuitively, it feels wrong to install another version, as ubuntu (or linux in general?) uses python as part of it’s operation. (also mentioned in attached answer). If the "python3"/"python" symlinks somehow get remapped to the old version, it’s gonna be problematic. be careful!

    Login or Signup to reply.
  2. DeepSpeech, and the CI/CD pipeline that compiles the wheels for each Python version, is no longer maintained, and that’s why it’s not available for Python 3.10. It might be possible to compile it from source, but I suspect that due to its myriad dependencies – such as on an old version of TensorFlow – that it will be difficult to compile.

    You may be better off working with a different STT product, such as Coqui’s STT engine.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search