No matching distribution found for tensorflow==1.15.2 (from deepspeech-training==0.7.3)

Well, we don’t get much better in Pakistan. Any alternatives?

I’m afraid there is no good solution here, except being patient.

1 Like

Alright I’ll try git clone again and wait for … some time. Thank you for your help.

Just for confirmation, the scorer required by the script is downloaded with git clone and doesn’t need to be downloaded separately?

git clone will rely on git-lfs yes, so you have no extra step after

1 Like

What you could do is to clone everything on a Google colab and repackage everything without the scorer. This way you could get the code to train now and get the scorer later.

I’m not sure if I understood properly. I cloned DeepSpeech repo on google colab and then zipped the folder and downloaded it. Now upon running this command locally on my computer:

pip3 install --upgrade --force-reinstall -e .

I get the error:

ERROR: Could not find a version that satisfies the requirement ds_ctcdecoder==training/deepspeech_training/VERSION (from deepspeech-training===training-deepspeech-training-VERSION) (from versions: 0.6.1, 0.7.0, 0.7.1, 0.7.3)
ERROR: No matching distribution found for ds_ctcdecoder==training/deepspeech_training/VERSION (from deepspeech-training===training-deepspeech-training-VERSION)

I thought your problem was the large download. This way you can reduce it to a fraction and test on Google whether everything is working so you can replicate it on your system.

I’m pretty sure the download size isn’t the issue. It’s probably a git problem. It gets stuck after resolving deltas. On Colab, I get the same error as above after running the pip install -e . command. In any case, I cloned the repo again, ctrl+c when it got stuck, tried running the ldc93s1 script which failed just like before. But other scripts in the bin/ folder are working so I’m assuming it’s a script problem.

I have no idea what you do, but it runs perfectly on colab:

!curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
!apt-get install git-lfs
!git clone --branch v0.7.3 https://github.com/mozilla/DeepSpeech
%cd DeepSpeech
!pwd
!pip3 install --upgrade pip==20.0.2 wheel==0.34.2 setuptools==46.1.3
!pip3 install --upgrade --force-reinstall -e .
!python3 util/taskcluster.py --target .

Check it and let us know what you did differently

1 Like

I was doing only one thing differently: I didn’t specify the --branch argument in git clone. That has made all the difference. It installs correctly. The util/taskcluster.py throws a lot of http errors though.

Please be more specific than “throws a lot of http errors”, I can’t read in your mind nor on your computer.

Sorry about that, it was getting late and I’d assumed I made some lazy mistake. I cleared the notebook now, restarted the runtime, and retraced the steps now it’s working perfectly. The ldc93s1 script too. I can just now download this folder and work with it on my computer?

So I did just that: cloned on colab, zipped the folder and copied it to drive, then downloaded from drive (took 20 minutes as compared to cloning locally which didn’t give me anything even after waiting for 2 hours), and now everything’s set up locally.

I guess that concludes the thread.

For posterity having the issue in the title: check you python3 --version. The reason why it didn’t work with the anaconda environment was that there python3 pointed to python 3.8 and python pointed to python3.6. I’m quite certain the reason for the tensorflow issue was that. You can set your python3 alias to python3.6 to solve it.

I’d like to thank Olaf and lissyx for helping me with this.

As I understood in this thread next lines are just warning.

swig/python detected a memory leak of type 'Output *', no destructor found.
swig/python detected a memory leak of type 'std::vector< Output,std::allocator< Output > > *', no destructor found.
swig/python detected a memory leak of type 'std::vector< std::vector< Output,std::allocator< Output > > > *', no destructor found.
swig/python detected a memory leak of type 'Alphabet *', no destructor found.
swig/python detected a memory leak of type 'Output *', no destructor found.
swig/python detected a memory leak of type 'std::vector< Output,std::allocator< Output > > *', no destructor found.
swig/python detected a memory leak of type 'std::vector< std::vector< Output,std::allocator< Output > > > *', no destructor found.
swig/python detected a memory leak of type 'Alphabet *', no destructor found.

I have a proper scorer branch(0.7.3). it is working well. but these warnings are annoying. Does this warning affect the result?

how to solve them? or at least how to hide them?

Info :

  • DeepSpeech version: 0.7.3
  • ubuntu 18.04
  • see this warnings in test level.

no

Just use latest 0.7.4 or 0.8, as documented it was fixed.

1 Like

Maybe some of you have already resolved the issue
# [No matching distribution found for tensorflow==1.15.2 (from deepspeech-training==0.7.3)](https://discourse.mozilla.org/t/no-matching-distribution-found-for-tensorflow-1-15-2-from-deepspeech-training-0-7-3/61485)
. but, the problem could be python 3,7 and above. If you downgrade python to 3.6, this issue gets resolved. or downgrade python, than install TF 1.15.2 than upgrade python again. give it a try.

Could you fix it? I got this error : Could not find a version that satisfies the requirement tensorflow==2.3

I have used 0.8.2 with 1.15.2 TF and it worked fine. maybe I have not yet upgraded TF to 2.3

You have to use TF 1.15 for now, it is not compatible with 2.x

We don’t support 2.3

Please upgrade and use 1.15.4 as documented, it contains bugfixes important for deepspeech

1 Like