mozilla / DeepSpeech

DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.

Repository from Github https://github.commozilla/DeepSpeechRepository from Github https://github.commozilla/DeepSpeech

ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.4

asennoussi opened this issue · comments

I'm setting up DeepSpeech to train the model, but when I execute:
pip3 install --upgrade -e .

I get

ERROR: Could not find a version that satisfies the requirement tensorflow==1.15.4 (from deepspeech-training) (from versions: 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.6.0rc0, 2.6.0rc1, 2.6.0rc2, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.7.0rc0, 2.7.0rc1, 2.7.0, 2.7.1, 2.7.2, 2.7.3, 2.7.4, 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0)
ERROR: No matching distribution found for tensorflow==1.15.4

This is the part of the code that invokes 1.15.4

 tensorflow_pypi_dep = [
        'tensorflow == 1.15.4'
    ]

Help please?

What version of python are you using, because tensorflow 1.15.4 seems to support up to 3.7, as per the pypi page https://pypi.org/project/tensorflow/1.15.4/

Newer versions of tensorflow support newer versions of Python. tensorflow 2.13.0 supports Python 3.8, 3.9, 3.10 and 3.11.