ERROR: ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl is not a supported wheel on this platform

When I am running the
pip3 install --upgrade --force-reinstall -e . command
I am getting the error
ERROR: ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl is not a supported wheel on this platform.

Is it because of some missing dependency ? i have installed Python 3.6.10 version

1 Like

If you have Python 3.6, why is it looking for the Python 3.7 wheel? Something weird is going on with your setup.

My system version is 3.7.1. I installed python 3.6 for virtual env. using conda.

What URL is it using ?

(ProjEnv) C:\Users\HP\Downloads\DeepSpeech>pip3 install --upgrade --force-reinstall -e .
Obtaining file:///C:/Users/HP/Downloads/DeepSpeech
ERROR: ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl is not a supported wheel on this platform.

I don’t see a URL here. Use -v please.

Please describe your system also.

sorry @lissyx which URL do you mean? I didnt get you .
System details : 64 bit OS. x64 based processor, 8 gb ram, intel core i5 - CPU

the one pip tries to use for ds_ctcdecoder

ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl

that’s a filename, not an URL.

(ProjEnv) C:\Users\HP\Downloads\DeepSpeech>pip3 install --upgrade --force-reinstall -e . -v
Non-user install because site-packages writeable
Created temporary directory: C:\Users\HP\AppData\Local\Temp\pip-ephem-wheel-cache-j9mtnw72
Created temporary directory: C:\Users\HP\AppData\Local\Temp\pip-req-tracker-m1y26nic
Initialized build tracking at C:\Users\HP\AppData\Local\Temp\pip-req-tracker-m1y26nic
Created build tracker: C:\Users\HP\AppData\Local\Temp\pip-req-tracker-m1y26nic
Entered build tracker: C:\Users\HP\AppData\Local\Temp\pip-req-tracker-m1y26nic
Created temporary directory: C:\Users\HP\AppData\Local\Temp\pip-install-axsf3ckc
Obtaining file:///C:/Users/HP/Downloads/DeepSpeech
  Added file:///C:/Users/HP/Downloads/DeepSpeech to build tracker 'C:\\Users\\HP\\AppData\\Local\\Temp\\pip-req-tracker-m1y26nic'
    Running setup.py (path:C:\Users\HP\Downloads\DeepSpeech\setup.py) egg_info for package from file:///C:/Users/HP/Downloads/DeepSpeech
    Running command python setup.py egg_info
    running egg_info
    writing training\deepspeech_training.egg-info\PKG-INFO
    writing dependency_links to training\deepspeech_training.egg-info\dependency_links.txt
    writing requirements to training\deepspeech_training.egg-info\requires.txt
    writing top-level names to training\deepspeech_training.egg-info\top_level.txt
    reading manifest file 'training\deepspeech_training.egg-info\SOURCES.txt'
    writing manifest file 'training\deepspeech_training.egg-info\SOURCES.txt'
  Source in c:\users\hp\downloads\deepspeech has version 0.7.1, which satisfies requirement deepspeech-training==0.7.1 from file:///C:/Users/HP/Downloads/DeepSpeech
  Removed deepspeech-training==0.7.1 from file:///C:/Users/HP/Downloads/DeepSpeech from build tracker 'C:\\Users\\HP\\AppData\\Local\\Temp\\pip-req-tracker-m1y26nic'
Cleaning up...
Removed build tracker: 'C:\\Users\\HP\\AppData\\Local\\Temp\\pip-req-tracker-m1y26nic'
ERROR: ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
  File "c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\cli\base_command.py", line 186, in _main
    status = self.run(options, args)
  File "c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\commands\install.py", line 331, in run
    resolver.resolve(requirement_set)
  File "c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\legacy_resolve.py", line 177, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\legacy_resolve.py", line 394, in _resolve_one
    add_req(subreq, extras_requested=available_requested)
  File "c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\legacy_resolve.py", line 355, in add_req
    extras_requested=extras_requested,
  File "c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip\_internal\req\req_set.py", line 112, in add_requirement
    wheel.filename
pip._internal.exceptions.InstallationError: ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl is not a supported wheel on this platform.

There’s nothing useful here. Can you try -v before -e ?

Especially you have AMD64 when I see amd64 in our URLs.

Its the same info using -v before -e

(ProjEnv) C:\Users\HP\Downloads\DeepSpeech>pip3 install --upgrade --force-reinstall -v -e .
Non-user install because site-packages writeable
Created temporary directory: C:\Users\HP\AppData\Local\Temp\pip-ephem-wheel-cache-ky8kl615
Created temporary directory: C:\Users\HP\AppData\Local\Temp\pip-req-tracker-rlt1hce7
Initialized build tracking at C:\Users\HP\AppData\Local\Temp\pip-req-tracker-rlt1hce7
Created build tracker: C:\Users\HP\AppData\Local\Temp\pip-req-tracker-rlt1hce7
Entered build tracker: C:\Users\HP\AppData\Local\Temp\pip-req-tracker-rlt1hce7
Created temporary directory: C:\Users\HP\AppData\Local\Temp\pip-install-dhup5qzx
Obtaining file:///C:/Users/HP/Downloads/DeepSpeech
Added file:///C:/Users/HP/Downloads/DeepSpeech to build tracker ‘C:\Users\HP\AppData\Local\Temp\pip-req-tracker-rlt1hce7’
Running setup.py (path:C:\Users\HP\Downloads\DeepSpeech\setup.py) egg_info for package from file:///C:/Users/HP/Downloads/DeepSpeech
Running command python setup.py egg_info
running egg_info
writing training\deepspeech_training.egg-info\PKG-INFO
writing dependency_links to training\deepspeech_training.egg-info\dependency_links.txt
writing requirements to training\deepspeech_training.egg-info\requires.txt
writing top-level names to training\deepspeech_training.egg-info\top_level.txt
reading manifest file ‘training\deepspeech_training.egg-info\SOURCES.txt’
writing manifest file ‘training\deepspeech_training.egg-info\SOURCES.txt’
Source in c:\users\hp\downloads\deepspeech has version 0.7.1, which satisfies requirement deepspeech-training==0.7.1 from file:///C:/Users/HP/Downloads/DeepSpeech
Removed deepspeech-training==0.7.1 from file:///C:/Users/HP/Downloads/DeepSpeech from build tracker ‘C:\Users\HP\AppData\Local\Temp\pip-req-tracker-rlt1hce7’
Cleaning up…
Removed build tracker: ‘C:\Users\HP\AppData\Local\Temp\pip-req-tracker-rlt1hce7’
ERROR: ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
File “c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip_internal\cli\base_command.py”, line 186, in _main
status = self.run(options, args)
File “c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip_internal\commands\install.py”, line 331, in run
resolver.resolve(requirement_set)
File “c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip_internal\legacy_resolve.py”, line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File “c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip_internal\legacy_resolve.py”, line 394, in _resolve_one
add_req(subreq, extras_requested=available_requested)
File “c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip_internal\legacy_resolve.py”, line 355, in add_req
extras_requested=extras_requested,
File “c:\users\hp\appdata\local\programs\python\python37-32\lib\site-packages\pip_internal\req\req_set.py”, line 112, in add_requirement
wheel.filename
pip._internal.exceptions.InstallationError: ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl is not a supported wheel on this platform.

change setup.py and add print("decoder_pkg_url={}".format(decoder_pkg_url)) after decoder_pkg_url = get_decoder_pkg_url(version), rerun.

decoder_pkg_url=ds_ctcdecoder @ https://community-tc.services.mozilla.com/api/index/v1/task/project.deepspeech.deepspeech.native_client.v0.7.1.cpu-ctc/artifacts/public/ds_ctcdecoder-0.7.1-cp37-cp37m-windows_AMD64.whl

so it’s AMD64 that is the issue?

why do you have cpu-ctc, it should not be this

I dont know why it is checking for AMD64 instead of amd64