Deepspeech: No working download links found for ds_ctcdecoder==training/deepspeech_training/VERSION

Created on 23 Jun 2020  路  59Comments  路  Source: mozilla/DeepSpeech

Hello,

when I trie to use the setup.py on from version 0.7.4 it always calls this error:

No local packages or working download links found for ds_ctcdecoder==training/deepspeech_training/VERSION error: Could not find suitable distribution for Requirement.parse('ds_ctcdecoder==training/deepspeech_training/VERSION')

With the version 0.7.3 and older it finds the ds_ctcdecoder but always calls that I need numpy in version 1.16, when I install 1.16 it calls me that I need numpy 1.13.3 because of other modules and so on. That's why I think my only chance to use DeepSpeech is with the newest version.

I'm on windwos 10 with python 3.6.

Thanks in advance!

bug good first bug help wanted

All 59 comments

I'm on windwos 10 with python 3.6.

Please note we don't support training on Windows.

No local packages or working download links found for ds_ctcdecoder==training/deepspeech_training/VERSION error: Could not find suitable distribution for Requirement.parse('ds_ctcdecoder==training/deepspeech_training/VERSION')

training/deepspeech_training/VERSION should be a file, can you verify and share its content

With the version 0.7.3 and older it finds the ds_ctcdecoder but always calls that I need numpy in version 1.16, when I install 1.16 it calls me that I need numpy 1.13.3 because of other modules and so on.

Please share more explicit pip install -v logs. It could also be related to the fact that ... we don't support training on Windows ?

That's why I think my only chance to use DeepSpeech is with the newest version.

We made no change to the dependencies, so if it's your issue it's not going to be solved.

I'm on windwos 10 with python 3.6.

Please note we don't support training on Windows.

No local packages or working download links found for ds_ctcdecoder==training/deepspeech_training/VERSION error: Could not find suitable distribution for Requirement.parse('ds_ctcdecoder==training/deepspeech_training/VERSION')

training/deepspeech_training/VERSION should be a file, can you verify and share its content

With the version 0.7.3 and older it finds the ds_ctcdecoder but always calls that I need numpy in version 1.16, when I install 1.16 it calls me that I need numpy 1.13.3 because of other modules and so on.

Please share more explicit pip install -v logs. It could also be related to the fact that ... we don't support training on Windows ?

That's why I think my only chance to use DeepSpeech is with the newest version.

We made no change to the dependencies, so if it's your issue it's not going to be solved.

I'm in lunix but pip can't finde the version ds_ctcdecoder

I'm in lunix but pip can't finde the version ds_ctcdecoder

Please be more precise. You could be hitting #3102.

@SirZontax Please, can you keep us updated ?

Hello, the thing is you said you didn't changed the dependencies but it doesn't find the download site/version from the text document

Hello, the thing is you said you didn't changed the dependencies but it doesn't find the download site/version from the text document

Sorry, but I don't understand that statement. I've asked for several things, you've documented nothing. We can't fix bug that we don't reproduce and that you don't explain.

@SirZontax Please, do you mind answering?

I can't explain how to reproduce. It only says: Didn't found the version of ds_ctcdecoder (like i wrote above) when trying to install it. I can't document things because there are none. I tried to install it and bam there is this error message.

I can't explain how to reproduce. It only says: Didn't found the version of ds_ctcdecoder (like i wrote above) when trying to install it. I can't document things because there are none. I tried to install it and bam there is this error message.

You could try to share pip install -v, as well as answer the question about VERSION and training/deepspeech_training/VERSION. Two things I asked you in the very first reply I gave you.

You could also try and document how you setup things.

In case you have not noticed, you should not have ds_ctcdecoder==training/deepspeech_training/VERSION but ds_ctcdecoder==0.7.4. We need to understand why in your case it's broken ...

pip install -v: Non-user install because site-packages writeable Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-ephem-wheel-cache-1wndwf4m Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Initialized build tracking at C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Created build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Entered build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-install-3yymcc1k

Yes VERSION is a file and that is it's content: 0.7.4

I installed pyhton, pip and that's it. I downloaded the files with the setup.py and ran it. Yes I noticed but it says that the version inside the file is not correct.

Yes VERSION is a file and that is it's content: 0.7.4

Can you verify with ls -hal so we can check precisely? And training/deepspeech_training/VERSION ? Is it a file ?

I installed pyhton, pip and that's it. I downloaded the files with the setup.py and ran it. Yes I noticed but it says that the version inside the file is not correct.

I'm sorry but there is still nothing to help us reproduce the issue there.
Please write and explicit each and every step you take ...

pip install -v: Non-user install because site-packages writeable Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-ephem-wheel-cache-1wndwf4m Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Initialized build tracking at C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Created build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Entered build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-ir27a1v_ Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-install-3yymcc1k

That output seems very well incomplete.

You can't use ls -hal on Windows and yes, like I said it is a file.

That output seems very well incomplete.

The rest was an error message telling me I need to write an output pip install help (So it told me that -v is incorrect).

Please write and explicit each and every step you take ...

I went to the python download site, clicked on Python 3.6 and installed it via the exe. Than I wrote in cmd python -m pip install update and so it updated pip. After that I went to this github site and clicked on Releases and than on the newest. After downloading I unzipped the file and tried to run in cmd python setup.py install. After a few seconds the error appeared

You can't use ls -hal on Windows and yes, like I said it is a file.

You could have been using bash under Windows. Since we lack context ...

After downloading I unzipped the file and tried to run in cmd python setup.py install. After a few seconds the error appeared

Perfect, you are explicitely document you have not followed the documentation: https://deepspeech.readthedocs.io/en/v0.7.4/TRAINING.html

Perfect, you are explicitely document you have not followed the documentation:

I've tried it and it doesn't work on this computer so that's why I tried it this way

Perfect, you are explicitely document you have not followed the documentation:

I've tried it and it doesn't work on this computer so that's why I tried it this way

Please be more specific. We already don't support training on Windows and you are not following our documentation to perform the setup, it's really hard for us to help you if you don't share more informations.

We also still don't know about training/deepspeech_training/VERSION: again, we can't help debug if you don't share broader picture.

Again, it says that the verison of ds_ctcdecoder which stands in the training/deepspeech_training/VERSION file is not existent. That's the whole statement. It doesnt find it... I can't tell you more because there is not more to tell... It tries to get the version from the website but doesnt find ds_ctcdecoder==0.7.4

I can't tell you more because there is not more to tell... It tries to get the version from the website but doesnt find ds_ctcdecoder==0.7.4

So we really need more context on your setup ... and real complete pip install -v.

Is it x86_64 system? Are you sure the Python version is also 64-bits ?

Non-user install because site-packages writeable
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-ephem-wheel-cache-qo8nmkxi
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Initialized build tracking at C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Created build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Entered build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-install-8c7vvy98
ERROR: You must give at least one requirement to install (see "pip help install")
Exception information:
Traceback (most recent call last):
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in _main
    status = self.run(options, args)
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\cli\req_command.py", line 185, in wrapper
    return func(self, options, args)
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\commands\install.py", line 302, in run
    check_supported_wheels=not options.target_dir,
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\cli\req_command.py", line 365, in get_requirements
    '(see "pip help {name}")'.format(**opts))
pip._internal.exceptions.CommandError: You must give at least one requirement to install (see "pip help install")
Removed build tracker: 'C:\\Users\\bernh\\AppData\\Local\\Temp\\pip-req-tracker-qo9u26z5'

The complete statement from pip install -v

Yes it is x86_64 system and python version is 64-bits too

The complete statement from pip install -v

Ok, I should have been more clear: pip install -v ds_ctcdecoder==0.7.4

Non-user install because site-packages writeable
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-ephem-wheel-cache-qo8nmkxi
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Initialized build tracking at C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Created build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Entered build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-qo9u26z5
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-install-8c7vvy98
ERROR: You must give at least one requirement to install (see "pip help install")
Exception information:
Traceback (most recent call last):
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in _main
    status = self.run(options, args)
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\cli\req_command.py", line 185, in wrapper
    return func(self, options, args)
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\commands\install.py", line 302, in run
    check_supported_wheels=not options.target_dir,
  File "C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\pip\_internal\cli\req_command.py", line 365, in get_requirements
    '(see "pip help {name}")'.format(**opts))
pip._internal.exceptions.CommandError: You must give at least one requirement to install (see "pip help install")
Removed build tracker: 'C:\\Users\\bernh\\AppData\\Local\\Temp\\pip-req-tracker-qo9u26z5'

C:\Users\bernh>pip install -v ds_ctcdecder==0.7.4
Non-user install because site-packages writeable
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-ephem-wheel-cache-hw9j_5c5
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-d8a0j9t9
Initialized build tracking at C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-d8a0j9t9
Created build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-d8a0j9t9
Entered build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-d8a0j9t9
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-install-fnraxfxz
1 location(s) to search for versions of ds-ctcdecder:
* https://pypi.org/simple/ds-ctcdecder/
Fetching project page and analyzing links: https://pypi.org/simple/ds-ctcdecder/
Getting page https://pypi.org/simple/ds-ctcdecder/
Found index url https://pypi.org/simple
Looking up "https://pypi.org/simple/ds-ctcdecder/" in the cache
Request header has "max_age" as 0, cache bypassed
Starting new HTTPS connection (1): pypi.org:443
https://pypi.org:443 "GET /simple/ds-ctcdecder/ HTTP/1.1" 404 13
Status code 404 not in (200, 203, 300, 301)
Could not fetch URL https://pypi.org/simple/ds-ctcdecder/: 404 Client Error: Not Found for url: https://pypi.org/simple/ds-ctcdecder/ - skipping
Given no hashes to check 0 links for project 'ds-ctcdecder': discarding no candidates
ERROR: Could not find a version that satisfies the requirement ds_ctcdecder==0.7.4 (from versions: none)
ERROR: No matching distribution found for ds_ctcdecder==0.7.4
Exception information:
Traceback (most recent call last):
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\cli\base_command.py", line 188, in _main
    status = self.run(options, args)
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\cli\req_command.py", line 185, in wrapper
    return func(self, options, args)
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\commands\install.py", line 333, in run
    reqs, check_supported_wheels=not options.target_dir
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 179, in resolve
    discovered_reqs.extend(self._resolve_one(requirement_set, req))
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 362, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 313, in _get_abstract_dist_for
    self._populate_link(req)
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\resolution\legacy\resolver.py", line 279, in _populate_link
    req.link = self.finder.find_requirement(req, upgrade)
  File "c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\pip\_internal\index\package_finder.py", line 930, in find_requirement
    req)
pip._internal.exceptions.DistributionNotFound: No matching distribution found for ds_ctcdecder==0.7.4
Removed build tracker: 'C:\\Users\\bernh\\AppData\\Local\\Temp\\pip-req-tracker-d8a0j9t9'

C:\Users\bernh>pip install -v ds_ctcdecder==0.7.4

ds_ctcdecoder please

Non-user install because site-packages writeable
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-ephem-wheel-cache-xz9prpmn
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-22qzklr_
Initialized build tracking at C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-22qzklr_
Created build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-22qzklr_
Entered build tracker: C:\Users\bernh\AppData\Local\Temp\pip-req-tracker-22qzklr_
Created temporary directory: C:\Users\bernh\AppData\Local\Temp\pip-install-1w5u45b_
Requirement already satisfied: ds_ctcdecoder==0.7.4 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\ds_ctcdecoder-0.7.4-py3.6-win-amd64.egg (0.7.4)
Requirement already satisfied: numpy<1.14.5,>=1.12.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from ds_ctcdecoder==0.7.4) (1.14.4)
Removed build tracker: 'C:\\Users\\bernh\\AppData\\Local\\Temp\\pip-req-tracker-22qzklr_'

Requirement already satisfied: ds_ctcdecoder==0.7.4 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packagesds_ctcdecoder-0.7.4-py3.6-win-amd64.egg (0.7.4)

It's already installed? Please uninstall and reinstall then?

Collecting ds_ctcdecoder==0.7.4
  Downloading ds_ctcdecoder-0.7.4-cp36-cp36m-win_amd64.whl (2.6 MB)
     |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 2.6 MB 1.6 MB/s
Requirement already satisfied: numpy<1.14.5,>=1.12.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from ds_ctcdecoder==0.7.4) (1.14.4)
ERROR: deepspeech-training training-deepspeech-training-version requires tensorflow==1.15.2, which is not installed.
ERROR: deepspeech-training training-deepspeech-training-version has requirement ds_ctcdecoder==training/deepspeech_training/VERSION, but you'll have ds-ctcdecoder 0.7.4 which is incompatible.
Installing collected packages: ds-ctcdecoder
Successfully installed ds-ctcdecoder-0.7.4
Collecting ds_ctcdecoder==0.7.4
  Downloading ds_ctcdecoder-0.7.4-cp36-cp36m-win_amd64.whl (2.6 MB)
     |鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻堚枅| 2.6 MB 1.6 MB/s
Requirement already satisfied: numpy<1.14.5,>=1.12.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from ds_ctcdecoder==0.7.4) (1.14.4)
ERROR: deepspeech-training training-deepspeech-training-version requires tensorflow==1.15.2, which is not installed.
ERROR: deepspeech-training training-deepspeech-training-version has requirement ds_ctcdecoder==training/deepspeech_training/VERSION, but you'll have ds-ctcdecoder 0.7.4 which is incompatible.
Installing collected packages: ds-ctcdecoder
Successfully installed ds-ctcdecoder-0.7.4

Since you have not shared the full command line, I can't know if you had this error with pip3 install --upgrade -e . from deepspeech installation or from pip install --upgrade ds_ctcdecoder==0.7.4.

I used pip install ds_ctcdecoder==0.7.4

I used pip install ds_ctcdecoder==0.7.4

So, we are just back to square one: training/deepspeech_training/VERSION. And this being picked the version makes no sense, because it's a file.

I know it doesn't make sense

I know it doesn't make sense

Can you change setup.py ?

At the very begining of main(), change:

version_file = Path(__file__).parent / 'VERSION'

To

version_file = os.path.join(__file__, '..', 'VERSION')

Changed and tried to run:

C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 130, in <module>
    main()
  File "setup.py", line 49, in main
    with open(str(version_file)) as fin:
FileNotFoundError: [Errno 2] No such file or directory: 'setup.py\\...\\VERSION'

Changed and tried to run:

C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install
Traceback (most recent call last):
  File "setup.py", line 130, in <module>
    main()
  File "setup.py", line 49, in main
    with open(str(version_file)) as fin:
FileNotFoundError: [Errno 2] No such file or directory: 'setup.py\\...\\VERSION'

Not really what I expected but that's better.
Can you revert version_file to the original version and instead change the with open(str(version_file)) to with open(version_file) ?

Again an error

C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install
C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\setuptools\dist.py:397: UserWarning: The version specified ('training/deepspeech_training/VERSION') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
running install
running bdist_egg
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'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\evaluate.py -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\GRAPH_VERSION -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\train.py -> build\bdist.win-amd64\egg\deepspeech_training
creating build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\audio.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\augmentations.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\checkpoints.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\check_characters.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\config.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\downloader.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\evaluate_tools.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\feeding.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\flags.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\gpu.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\helpers.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\importers.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\logging.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\sample_collections.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\stm.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\taskcluster.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\text.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\__init__.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\VERSION -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\__init__.py -> build\bdist.win-amd64\egg\deepspeech_training
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\evaluate.py to evaluate.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\train.py to train.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\audio.py to audio.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\augmentations.py to augmentations.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\checkpoints.py to checkpoints.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\check_characters.py to check_characters.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\config.py to config.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\downloader.py to downloader.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\evaluate_tools.py to evaluate_tools.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\feeding.py to feeding.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\flags.py to flags.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\gpu.py to gpu.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\helpers.py to helpers.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\importers.py to importers.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\logging.py to logging.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\sample_collections.py to sample_collections.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\stm.py to stm.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\taskcluster.py to taskcluster.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\text.py to text.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\__init__.py to __init__.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\__init__.py to __init__.cpython-36.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
deepspeech_training.__pycache__.train.cpython-36: module references __file__
deepspeech_training.util.__pycache__.helpers.cpython-36: module references __file__
deepspeech_training.util.__pycache__.taskcluster.cpython-36: module references __file__
creating 'dist\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg
removing 'c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg' (and everything under it)
creating c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg
Extracting deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg to c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages
deepspeech-training training-deepspeech-training-VERSION is already the active version in easy-install.pth

Installed c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_version-py3.6.egg
Processing dependencies for deepspeech-training===training-deepspeech-training-VERSION
Searching for tensorflow==1.15.2
Reading https://pypi.org/simple/tensorflow/
Downloading https://files.pythonhosted.org/packages/06/1f/3940c7bb51e1b9cf6e526c84d3239830c8d46c9823a3605945f9abb22411/tensorflow-1.15.2-cp36-cp36m-win_amd64.whl#sha256=b6c57269009a641a74b3456ef7483e69143ed9762af321b0560db5a72cdcb01f
Best match: tensorflow 1.15.2
Processing tensorflow-1.15.2-cp36-cp36m-win_amd64.whl
Installing tensorflow-1.15.2-cp36-cp36m-win_amd64.whl to c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages
writing requirements to c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\tensorflow-1.15.2-py3.6-win-amd64.egg\EGG-INFO\requires.txt
Adding tensorflow 1.15.2 to easy-install.pth file
Installing estimator_ckpt_converter-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing estimator_ckpt_converter.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing freeze_graph-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing freeze_graph.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing saved_model_cli-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing saved_model_cli.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tensorboard-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tensorboard.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tf_upgrade_v2-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tf_upgrade_v2.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tflite_convert-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tflite_convert.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco_from_protos-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco_from_protos.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts

Installed c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\tensorflow-1.15.2-py3.6-win-amd64.egg
Searching for ds_ctcdecoder==training/deepspeech_training/VERSION
Reading https://pypi.org/simple/ds_ctcdecoder/
No local packages or working download links found for ds_ctcdecoder==training/deepspeech_training/VERSION
error: Could not find suitable distribution for Requirement.parse('ds_ctcdecoder==training/deepspeech_training/VERSION')

Again an error

C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install
C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\setuptools\dist.py:397: UserWarning: The version specified ('training/deepspeech_training/VERSION') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
running install
running bdist_egg
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'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\evaluate.py -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\GRAPH_VERSION -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\train.py -> build\bdist.win-amd64\egg\deepspeech_training
creating build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\audio.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\augmentations.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\checkpoints.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\check_characters.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\config.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\downloader.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\evaluate_tools.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\feeding.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\flags.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\gpu.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\helpers.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\importers.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\logging.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\sample_collections.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\stm.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\taskcluster.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\text.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\__init__.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\VERSION -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\__init__.py -> build\bdist.win-amd64\egg\deepspeech_training
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\evaluate.py to evaluate.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\train.py to train.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\audio.py to audio.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\augmentations.py to augmentations.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\checkpoints.py to checkpoints.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\check_characters.py to check_characters.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\config.py to config.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\downloader.py to downloader.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\evaluate_tools.py to evaluate_tools.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\feeding.py to feeding.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\flags.py to flags.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\gpu.py to gpu.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\helpers.py to helpers.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\importers.py to importers.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\logging.py to logging.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\sample_collections.py to sample_collections.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\stm.py to stm.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\taskcluster.py to taskcluster.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\text.py to text.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\__init__.py to __init__.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\__init__.py to __init__.cpython-36.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
deepspeech_training.__pycache__.train.cpython-36: module references __file__
deepspeech_training.util.__pycache__.helpers.cpython-36: module references __file__
deepspeech_training.util.__pycache__.taskcluster.cpython-36: module references __file__
creating 'dist\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg
removing 'c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg' (and everything under it)
creating c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg
Extracting deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg to c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages
deepspeech-training training-deepspeech-training-VERSION is already the active version in easy-install.pth

Installed c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_version-py3.6.egg
Processing dependencies for deepspeech-training===training-deepspeech-training-VERSION
Searching for tensorflow==1.15.2
Reading https://pypi.org/simple/tensorflow/
Downloading https://files.pythonhosted.org/packages/06/1f/3940c7bb51e1b9cf6e526c84d3239830c8d46c9823a3605945f9abb22411/tensorflow-1.15.2-cp36-cp36m-win_amd64.whl#sha256=b6c57269009a641a74b3456ef7483e69143ed9762af321b0560db5a72cdcb01f
Best match: tensorflow 1.15.2
Processing tensorflow-1.15.2-cp36-cp36m-win_amd64.whl
Installing tensorflow-1.15.2-cp36-cp36m-win_amd64.whl to c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages
writing requirements to c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\tensorflow-1.15.2-py3.6-win-amd64.egg\EGG-INFO\requires.txt
Adding tensorflow 1.15.2 to easy-install.pth file
Installing estimator_ckpt_converter-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing estimator_ckpt_converter.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing freeze_graph-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing freeze_graph.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing saved_model_cli-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing saved_model_cli.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tensorboard-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tensorboard.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tf_upgrade_v2-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tf_upgrade_v2.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tflite_convert-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing tflite_convert.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco_from_protos-script.py script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts
Installing toco_from_protos.exe script to C:\Users\bernh\AppData\Local\Programs\Python\Python36\Scripts

Installed c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\tensorflow-1.15.2-py3.6-win-amd64.egg
Searching for ds_ctcdecoder==training/deepspeech_training/VERSION
Reading https://pypi.org/simple/ds_ctcdecoder/
No local packages or working download links found for ds_ctcdecoder==training/deepspeech_training/VERSION
error: Could not find suitable distribution for Requirement.parse('ds_ctcdecoder==training/deepspeech_training/VERSION')

So it's pathlib that makes fun of us ...

version_file = os.path.join(os.path.dirname(__file__), '..', 'VERSION')

Should build the correct path and read correctly the version file, can you verify?

Nope, same error like earlier: C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install Traceback (most recent call last): File "setup.py", line 130, in <module> main() File "setup.py", line 49, in main with open(version_file) as fin: FileNotFoundError: [Errno 2] No such file or directory: '..\\VERSION'

Nope, same error like earlier: C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install Traceback (most recent call last): File "setup.py", line 130, in <module> main() File "setup.py", line 49, in main with open(version_file) as fin: FileNotFoundError: [Errno 2] No such file or directory: '..\\VERSION'

my bad, you don't need the '..':

version_file = os.path.join(os.path.dirname(__file__), 'VERSION')

And there is the first error again:

C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install
C:\Users\bernh\AppData\Local\Programs\Python\Python36\lib\site-packages\setuptools\dist.py:397: UserWarning: The version specified ('training/deepspeech_training/VERSION') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version
running install
running bdist_egg
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'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
creating build\bdist.win-amd64\egg
creating build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\evaluate.py -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\GRAPH_VERSION -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\train.py -> build\bdist.win-amd64\egg\deepspeech_training
creating build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\audio.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\augmentations.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\checkpoints.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\check_characters.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\config.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\downloader.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\evaluate_tools.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\feeding.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\flags.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\gpu.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\helpers.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\importers.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\logging.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\sample_collections.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\stm.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\taskcluster.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\text.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\util\__init__.py -> build\bdist.win-amd64\egg\deepspeech_training\util
copying build\lib\deepspeech_training\VERSION -> build\bdist.win-amd64\egg\deepspeech_training
copying build\lib\deepspeech_training\__init__.py -> build\bdist.win-amd64\egg\deepspeech_training
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\evaluate.py to evaluate.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\train.py to train.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\audio.py to audio.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\augmentations.py to augmentations.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\checkpoints.py to checkpoints.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\check_characters.py to check_characters.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\config.py to config.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\downloader.py to downloader.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\evaluate_tools.py to evaluate_tools.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\feeding.py to feeding.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\flags.py to flags.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\gpu.py to gpu.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\helpers.py to helpers.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\importers.py to importers.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\logging.py to logging.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\sample_collections.py to sample_collections.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\stm.py to stm.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\taskcluster.py to taskcluster.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\text.py to text.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\util\__init__.py to __init__.cpython-36.pyc
byte-compiling build\bdist.win-amd64\egg\deepspeech_training\__init__.py to __init__.cpython-36.pyc
creating build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\requires.txt -> build\bdist.win-amd64\egg\EGG-INFO
copying training\deepspeech_training.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
deepspeech_training.__pycache__.train.cpython-36: module references __file__
deepspeech_training.util.__pycache__.helpers.cpython-36: module references __file__
deepspeech_training.util.__pycache__.taskcluster.cpython-36: module references __file__
creating 'dist\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg' and adding 'build\bdist.win-amd64\egg' to it
removing 'build\bdist.win-amd64\egg' (and everything under it)
Processing deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg
removing 'c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg' (and everything under it)
creating c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg
Extracting deepspeech_training-training_deepspeech_training_VERSION-py3.6.egg to c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages
deepspeech-training training-deepspeech-training-VERSION is already the active version in easy-install.pth

Installed c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-training_deepspeech_training_version-py3.6.egg
Processing dependencies for deepspeech-training===training-deepspeech-training-VERSION
Searching for ds_ctcdecoder==training/deepspeech_training/VERSION
Reading https://pypi.org/simple/ds_ctcdecoder/
No local packages or working download links found for ds_ctcdecoder==training/deepspeech_training/VERSION
error: Could not find suitable distribution for Requirement.parse('ds_ctcdecoder==training/deepspeech_training/VERSION')

With the risk of saying something silly because I haven't kept up with the discussion, why are you using python setup.py install instead of pip install . as documented? Those commands are not equivalent, you should always use pip install.

C:\Users\bernh\Desktop\DeepSpeech-master>python setup.py install

Please, the issue is already strange enough, can we stick to what we document ?
I'm not 100% of the differences in behavior for that wrt pip3 install --upgrade -e ., we don't support training on Windows and I don't have a Windows system ...

With the risk of saying something silly because I haven't kept up with the discussion, why are you using python setup.py install instead of pip install . as documented? Those commands are not equivalent, you should always use pip install.

Output:

C:\Users\bernh\Desktop\DeepSpeech-master>pip install .
Processing c:\users\bernh\desktop\deepspeech-master
Requirement already satisfied: numpy in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.14.4)
Requirement already satisfied: progressbar2 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (3.47.0)
Requirement already satisfied: six in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.13.0)
Requirement already satisfied: pyxdg in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.26)
Requirement already satisfied: attrdict in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.0.1)
Requirement already satisfied: absl-py in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.9.0)
Requirement already satisfied: semver in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.10.2)
Requirement already satisfied: opuslib==2.0.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.0.0)
Requirement already satisfied: optuna in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.5.0)
Requirement already satisfied: sox in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.3.7)
Requirement already satisfied: bs4 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.0.1)
Requirement already satisfied: pandas in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.25.3)
Requirement already satisfied: requests in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.24.0)
Requirement already satisfied: numba==0.47.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.47.0)
Requirement already satisfied: llvmlite==0.31.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.31.0)
Requirement already satisfied: librosa in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.6.1)
Requirement already satisfied: soundfile in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.10.3.post1)
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.7.0, 0.7.1, 0.7.3, 0.7.4, 0.8.0a3, 0.8.0a4, 0.8.0a5, 0.8.0a6, 0.9.0a0, 0.9.0a1, 0.9.0a2)
ERROR: No matching distribution found for ds_ctcdecoder==training/deepspeech_training/VERSION (from deepspeech-training===training-deepspeech-training-VERSION)

So same error again

pip3 install --upgrade -e .

Output:

C:\Users\bernh\Desktop\DeepSpeech-master>pip3 install --upgrade -e .
Obtaining file:///C:/Users/bernh/Desktop/DeepSpeech-master
Requirement already satisfied, skipping upgrade: numpy in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.14.4)
Requirement already satisfied, skipping upgrade: progressbar2 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (3.47.0)
Requirement already satisfied, skipping upgrade: six in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.13.0)
Requirement already satisfied, skipping upgrade: pyxdg in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.26)
Requirement already satisfied, skipping upgrade: attrdict in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.0.1)
Requirement already satisfied, skipping upgrade: absl-py in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.9.0)
Requirement already satisfied, skipping upgrade: semver in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.10.2)
Requirement already satisfied, skipping upgrade: opuslib==2.0.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.0.0)
Requirement already satisfied, skipping upgrade: optuna in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.5.0)
Requirement already satisfied, skipping upgrade: sox in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (1.3.7)
Requirement already satisfied, skipping upgrade: bs4 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.0.1)
Requirement already satisfied, skipping upgrade: pandas in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.25.3)
Requirement already satisfied, skipping upgrade: requests in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (2.24.0)
Requirement already satisfied, skipping upgrade: numba==0.47.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.47.0)
Requirement already satisfied, skipping upgrade: llvmlite==0.31.0 in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.31.0)
Requirement already satisfied, skipping upgrade: librosa in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.6.1)
Requirement already satisfied, skipping upgrade: soundfile in c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages (from deepspeech-training===training-deepspeech-training-VERSION) (0.10.3.post1)
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.7.0, 0.7.1, 0.7.3, 0.7.4, 0.8.0a3, 0.8.0a4, 0.8.0a5, 0.8.0a6, 0.9.0a0, 0.9.0a1, 0.9.0a2)
ERROR: No matching distribution found for ds_ctcdecoder==training/deepspeech_training/VERSION (from deepspeech-training===training-deepspeech-training-VERSION)

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.7.0, 0.7.1, 0.7.3, 0.7.4, 0.8.0a3, 0.8.0a4, 0.8.0a5, 0.8.0a6, 0.9.0a0, 0.9.0a1, 0.9.0a2)
ERROR: No matching distribution found for ds_ctcdecoder==training/deepspeech_training/VERSION (from deepspeech-training===training-deepspeech-training-VERSION)

And what code for version_file / open(str()) ?

When I flipped the direction of the version symlinks I had to reference training/deepspeech_training/VERSION directly in a bunch of places to get Windows working. I didn't do /setup.py because we don't support/test training on Windows, but maybe a similar change is needed there.

And what code for 'version_file / open(str())` ?

def main(): version_file = os.path.join(os.path.dirname(__file__), 'VERSION') with open(version_file) as fin: version = fin.read().strip()

When I flipped the direction of the version symlinks I had to reference training/deepspeech_training/VERSION directly in a bunch of places to get Windows working. I didn't do /setup.py because we don't support/test training on Windows, but maybe a similar change is needed there.

That's the only reasonnable explanation, we are reading the /VERSION symlink content, which is training/deepspeech_training/VERSION.

Yet, earlier, @SirZontax said:

Yes VERSION is a file and that is it's content: 0.7.4

So, in this answer, does VERSION means the VERSION file at the root or training/deepspeech_training/VERSION ?
If it's the root, it should not be a file, but a symlink, and we are back to the begining: training on Windows is not supported, please use some shell (msys2 e.g.) and enable symlinks.

It means the VERSION file. As far as I saw it tries to read the file, should get 0.7.4 and than tries to install this version of ds_ctcdecoder

It means the VERSION file. As far as I saw it tries to read the file, should get 0.7.4 and than tries to install this version of ds_ctcdecoder

I'm sorry, you are not precise here. Root file or not root file? It should be a symlink. VERSION being a symlink and your system not supporting symlinks is the only explanation that makes sense so far.

So please make an effort and be precise, I'm spending time to help you on an unsupported system.

It means the VERSION file. As far as I saw it tries to read the file, should get 0.7.4 and than tries to install this version of ds_ctcdecoder

I'm sorry, you are not precise here. Root file or not root file? It should be a symlink. VERSION being a symlink and your system not supporting symlinks is the only explanation that makes sense so far.

So please make an effort and be precise, I'm spending time to help you on an unsupported system.

It is also consistent with the fact it was working on 0.7.3 and not anymore on 0.7.4, explicitely because this is when we changed the symlinks directions.

And what code for 'version_file / open(str())` ?

def main(): version_file = os.path.join(os.path.dirname(__file__), 'VERSION') with open(version_file) as fin: version = fin.read().strip()

def main():
    version_file = Path(__file__).parent / 'training' / 'deepspeech_training' / 'VERSION'

Should do it.

Okay, seems to be working now but I got an error for numpy. Is this a problem because of windows or can I fix it by chaning the version? Installed c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-0.7.4-py3.6.egg Processing dependencies for deepspeech-training==0.7.4 error: numpy 1.14.4 is installed but numpy<2.0,>=1.16.0 is required by {'tensorflow'}

Okay, seems to be working now but I got an error for numpy. Is this a problem because of windows or can I fix it by chaning the version? Installed c:\users\bernh\appdata\local\programs\python\python36\lib\site-packages\deepspeech_training-0.7.4-py3.6.egg Processing dependencies for deepspeech-training==0.7.4 error: numpy 1.14.4 is installed but numpy<2.0,>=1.16.0 is required by {'tensorflow'}

Well you should change the deps against numpy. Again, not supported setup, it's not surprising, you need to check what needs to be the minimum version to get existing numpy wheel for this windows + arch + python combo and adjust.

If you get to training working, it'd be good to send PR to fix those issues: we are not users of Windows, all our training is done on linux, so it's hard for us to focus time on that, but if you get it to work, we can add it to CI and ensure it does not regress.

Adding here in case if anyone facing same issue in windows. Change the value in VERSION file to 0.9.0-alpha.2. Seems like the path is not getting resolved properly in windows

Adding here in case if anyone facing same issue in windows. Change the value in VERSION file to 0.9.0-alpha.2. Seems like the path is not getting resolved properly in windows

Well, again, if you read the issue, this is exactly what turned out to be the root cause, as suspected: there is no support for symlinks on Windows, so it's failing.

Adding here in case if anyone facing same issue in windows. Change the value in VERSION file to 0.9.0-alpha.2. Seems like the path is not getting resolved properly in windows

Well, again, if you read the issue, this is exactly what turned out to be the root cause, as suspected: there is no support for symlinks on Windows, so it's failing.

Are there any other symlink issues that I might face? I use windows and am still in the priliminary stage. Just want to check the feasibility if I need to switch to linux

Adding here in case if anyone facing same issue in windows. Change the value in VERSION file to 0.9.0-alpha.2. Seems like the path is not getting resolved properly in windows

Well, again, if you read the issue, this is exactly what turned out to be the root cause, as suspected: there is no support for symlinks on Windows, so it's failing.

Are there any other symlink issues that I might face? I use windows and am still in the priliminary stage. Just want to check the feasibility if I need to switch to linux

That's why we say we don't support Windows: we don't know. If you are willing to try and test, it might not be too complicated and a PR to ensure Windows support at training would be more than welcome.

@vasudev-hv So, have you had any luck on that matter?

@vasudev-hv So, have you had any luck on that matter?

Unfortunately no. Due to constraints on windows hardware(gpu and mem), we had to move to linux.

My issue:
DeepSpeech version (0.7.0-alpha.2) and CTC decoder version (0.7.4) do not match. Please ensure matching versions are in use.

And pip can't find ds-ctcdecoder==0.7.0-alpha.2

Don't hijack existing issues for unrelated problems.

My issue:
DeepSpeech version (0.7.0-alpha.2) and CTC decoder version (0.7.4) do not match. Please ensure matching versions are in use.

And pip can't find ds-ctcdecoder==0.7.0-alpha.2

Moreover, you reported that one month ago and did not shared any informations versions, so there was no way for us to know that, especially since we had some infra-related issue at the same time.

As @reuben said, please reach for support on Discourse. Also, the error is quite explicit: you have ds_ctcdecoder==0.7.4 installed and your are still running 0.7.0-alpha.2 training code. Please just upgrade your training to 0.7.4.

My issue:
DeepSpeech version (0.7.0-alpha.2) and CTC decoder version (0.7.4) do not match. Please ensure matching versions are in use.
And pip can't find ds-ctcdecoder==0.7.0-alpha.2

Moreover, you reported that one month ago and did not shared any informations versions, so there was no way for us to know that, especially since we had some infra-related issue at the same time.

As @reuben said, please reach for support on Discourse. Also, the error is quite explicit: you have ds_ctcdecoder==0.7.4 installed and your are still running 0.7.0-alpha.2 training code. Please just upgrade your training to 0.7.4.

I find the solution, Update DeepSpeech version (cloning a latest version) and I resume the configuration for all.
It just versioning problem.
nevertheless thank you

Was this page helpful?
0 / 5 - 0 ratings

Related issues

verloka picture verloka  路  23Comments

lissyx picture lissyx  路  33Comments

yoann1995 picture yoann1995  路  49Comments

istojan picture istojan  路  54Comments

nealmcb picture nealmcb  路  30Comments