1

I am trying to install DeepSearch library so that I can use the pretrained model to build the Speech to Text Project.

ModuleNotFoundError Traceback (most recent call last)
<ipython-input-8-a1bcd52700aa> in <cell line: 1>()
----> 1 import deepspeech
 2 
 3 # Path to the pre-trained model files
 4 model_path = "/content/deepspeech-0.9.3-models.pbmm"
 5 scorer_path = "/content/deepspeech-0.9.3-models.scorer" # Optional, for improved performance
ModuleNotFoundError: No module named 'deepspeech'

I have got the module not found error, and I tried using version also but it gives me the error of couldn't found the suitable version.

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

I tried using deepspeech github directory when I tried to install the setupfile and requirements.txt. I have got the error:

 Collecting absl-py==0.9.0
 Downloading absl-py-0.9.0.tar.gz (104 kB)
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 104.0/104.0 kB 3.3 MB/s eta 0:00:00
 error: subprocess-exited-with-error
 
 ×ばつ python setup.py egg_info did not run successfully.
 │ exit code: 1
 ╰─> See above for output.
 
 note: This error originates from a subprocess, and is likely not a problem with pip.
 Preparing metadata (setup.py) ... error
error: metadata-generation-failed×ばつ Encountered error while generating package metadata.
╰─> See above for output.

So how to install the deepspeech library?

desertnaut
60.8k32 gold badges155 silver badges183 bronze badges
asked Nov 24, 2023 at 16:48
1
  • What is your python version? Commented Nov 24, 2023 at 17:26

1 Answer 1

0

Latest release of deepspeech was 3 years back in December 2020:

enter image description here

You are not able to install deepsearch because it only supports python <= 3.6 which is outdated. If you want to use, you can download older version of python separately and install deepsearch.

enter image description here

https://pypi.org/project/deepspeech/#description

desertnaut
60.8k32 gold badges155 silver badges183 bronze badges
answered Nov 25, 2023 at 8:52
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.