pythonmozilla-deepspeech

while I was trying to train a DeepSpeech model on google colab, I'm getting an error saying that .whl file is not suported


commands i used

!wget https://github.com/mozilla/DeepSpeech/releases/download/v0.9.3/ds_ctcdecoder-0.9.3-cp36-cp36m-manylinux1_x86_64.whl

!pip install /content/~path~/ds_ctcdecoder-0.9.3-cp36-cp36m-manylinux1_x86_64.whl

this gives me an error

ERROR: ds_ctcdecoder-0.9.3-cp36-cp36m-manylinux1_x86_64.whl is not a supported wheel on this platform.

how can i solve this ?


Solution

  • You are using wget to pull down a .whl file that was built for a different version of Python. You are pulling down

    ds_ctcdecoder-0.9.3-cp36-cp36m-manylinux1_x86_64.whl

    but are running Python 3.7. You need a different .whl file, such as:

    ds_ctcdecoder-0.9.3-cp37-cp37m-manylinux1_x86_64.whl

    This is available here from the DeepSpeech releases page on GitHub.