I’m hesitant to post this because it seems like it might be a problem with my setup. However, I’m generally stumped, and I know this occurs on more than just my computer.
When I try to “pip install deepspeech” the output in terminal using a macbook pro is “Collecting deepspeech
Could not find a version that satisfies the requirement deepspeech (from versions: )
No matching distribution found for deepspeech” .
I am inside a conda virtual environment. I get the same behavior for an environment running python 2.714 and 3.5. I know pypi has deepspeech as I can go to its page in pypi. When I tried to download the wheels manually to my computer and then install from the file, I get “deepspeech-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl is not a supported wheel on this platform.” Again, I’ve tried this for python 2.7 and 3.5. I’ve asked two of my coworkers to attempt “pip install deepspeech”. One person sees the exact same behavior that I’ve described. The other sees deepspeech install without a problem. We all have macbook pros. We can’t find any differences in conda, python, etc. that appear to matter.
Anyone else have these problems when they tried to use “pip install deepspeech”? Any suggestions?
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
2
Can you paste us the output of pip install --verbose deepspeech please?
I ran into a similar issue. I was on ubuntu 14.04, and running pip 1.5.4. Upgrading pip to 9.0.1 within my virutalenv (via pip install --upgrade pip) worked for me. After pip install deepspeech succeeded.
Collecting deepspeech
1 location(s) to search for versions of deepspeech:
* https://pypi.python.org/simple/deepspeech/
Getting page https://pypi.python.org/simple/deepspeech/
Looking up "https://pypi.python.org/simple/deepspeech/" in the cache
Current age based on date: 3175
Freshness lifetime from max-age: 600
Freshness lifetime from request max-age: 600
The cached response is "stale" with no etag, purging
Starting new HTTPS connection (1): pypi.python.org
"GET /simple/deepspeech/ HTTP/1.1" 200 2348
Updating cache with response from "https://pypi.python.org/simple/deepspeech/"
Caching b/c date exists and max-age > 0
Analyzing links from page https://pypi.python.org/simple/deepspeech/
Skipping link https://pypi.python.org/packages/13/04/22c7aba1d8f3528860a3f7da93a8271da660917a16bf04ab3d69806ddbdb/deepspeech-0.0.2-cp34-cp34m-linux_armv7l.whl#md5=65b19ab5b231c51cd6ca7c53e9e53e15 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/1f/81/77c06c23d475dc2012ca94acd45864e162d2c2fc76096bbfc217e0e456af/deepspeech-0.0.2-cp36-cp36m-macosx_10_12_x86_64.whl#md5=9ef810b3e6d957843f2fb87550bada6c (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/1f/b5/1d06984995bea04713544f60ed8390891e975fc152b2132ef6b693073c63/deepspeech-0.0.3-cp27-cp27mu-manylinux1_x86_64.whl#md5=ffc47c657aebe4512705f7bafdceb5b6 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/22/cb/b10f9cb53287a35280c9d800c3c260066cae93ba5892896ef4f37f060b71/deepspeech-0.1.0-cp36-cp36m-macosx_10_12_x86_64.whl#md5=d41f047cf371e80447cebd6208e9260d (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/27/9a/3a247c1cfa6281167f13227f5a6cdc4d00a921a17e0b7b002f8b6f999d0a/deepspeech-0.0.2-cp35-cp35m-manylinux1_x86_64.whl#md5=886efda8083e82c2e7123fa614e2d3a9 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/2a/ce/d021efbe13a50644a23880dfb3bd9f3d7cd35f167fa3d263c7a1d5c499c9/deepspeech-0.0.2-cp27-cp27mu-linux_armv7l.whl#md5=cee65adf01b0bd070f1ece302678179e (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/2e/9b/2de973ba146c4355ab97e0ae9ce7def9b1e33cdba63d12227b912ba830e8/deepspeech-0.0.2-cp34-cp34m-manylinux1_x86_64.whl#md5=8cfa351e7bf85ac7cb04951a78742ec4 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/31/8f/a3ab9915970db9de99b47b353500523261958c0c3c26c03df840925f8eaa/deepspeech-0.0.3-cp34-cp34m-macosx_10_12_x86_64.whl#md5=62e4c4d412f5e3347002cd1faa55be2f (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/32/8b/4b59a8523313bcb4f11afcef3026d9f7d172bd9e731df6aaa921b9a2e434/deepspeech-0.0.3-cp34-cp34m-manylinux1_x86_64.whl#md5=a99b02b71176d108742194f0cae1146c (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/3d/cc/8dfd3dcc50e2d5cb5e202532a71e868a58a28b2728266ecb57384afc7384/deepspeech-0.1.0-cp27-cp27m-macosx_10_12_x86_64.whl#md5=099e33d6c9c3a66dd707dc687efc4da4 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/3d/f1/b17d9467f8e47a088bad1ae6caa3f709d01bf6d89b657c81e08af22d3acb/deepspeech-0.0.2-cp34-cp34m-macosx_10_12_x86_64.whl#md5=8515dc77144bf1260e0f3f926af97540 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/45/62/8102a9e189dc2a40a9521bf11e7f2a7b1648d17fe35ed7d19a2675f5b400/deepspeech-0.1.0-cp27-cp27mu-manylinux1_x86_64.whl#md5=2d65b15ccb15b4ba4e6178145bf4bea2 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/48/a5/81cfa039ed3c5505eaba079100143f93e74405eb78e5dfd1c45766b95a51/deepspeech-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl#md5=205862e11299265644681784c49e9047 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/4b/89/19a59908c3a6735363b243f14989ea59c433cab4b9bca1391e48decb66a7/deepspeech-0.0.3-cp36-cp36m-macosx_10_12_x86_64.whl#md5=24974a7aa0b3fd61261f70bfd0cd7fc0 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/4f/71/3fbcf9309730496777375a51d441d33ec9c6a036dd0f9da5c09848625801/deepspeech-0.0.2-cp27-cp27m-macosx_10_12_x86_64.whl#md5=fe7a973e1d24ddaf5936f34566539590 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/64/94/306dd45333318921d5c096d13d1b80d926e33970e45e8efe60cd3fde8b5a/deepspeech-0.0.3-cp35-cp35m-macosx_10_12_x86_64.whl#md5=46473eb1526fb2b399153b99cb45a72b (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/66/75/b10f120e4a6f9c045fb8c417af3f1e5a56fde163fdca3a75d87ec666c7bc/deepspeech-0.1.0-cp27-cp27mu-linux_armv7l.whl#md5=4312da2101abf486ec5c5c1a206281ce (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/6b/04/b93cac108650c8fb2dad4d381dbc1add8cc1992b27ae247f86b758bcd030/deepspeech-0.0.2-cp27-cp27mu-manylinux1_x86_64.whl#md5=7c6189c3c7e00b99b49a9a4774b56e63 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/71/d5/b0f9bb7ed96700c6dfc3ecb10a78218ead408a7d16b3732f27751fd3c564/deepspeech-0.1.0-cp36-cp36m-manylinux1_x86_64.whl#md5=ed3c856f7f6c642a042eb8c61db576c1 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/75/75/df3a916735895855805fa19c50c598b7a18956908bcbd04e7f9853ba3657/deepspeech-0.1.0-cp34-cp34m-linux_armv7l.whl#md5=6bdb6ab32f9ff0a9e5b8f812ddd1b95e (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/7e/c5/01074ebb71df0ada77f81bb0e8aacba869b95eed36c4446ad05564993e22/deepspeech-0.0.3-cp27-cp27m-macosx_10_12_x86_64.whl#md5=4acecf9c065dff4798a99bd3d4610917 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/7f/83/9a2a60e4d64b5e41f7a6fd19151051bd494b0869fd613e526886000de256/deepspeech-0.1.0-cp34-cp34m-macosx_10_12_x86_64.whl#md5=3c8db1eab29b100449b4be02483b4b37 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/87/d6/86c9b0498acc88063757625295ae9b9f71160cca6dc4017030861ecbe78c/deepspeech-0.0.3-cp34-cp34m-linux_armv7l.whl#md5=7012267204453a21a4cc63f8fdb17ec2 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/92/48/1d48eaa75081ef93fafa94660d263bbca6d1b15b67106ef809959169fb97/deepspeech-0.0.2-cp35-cp35m-macosx_10_12_x86_64.whl#md5=f1fcf1edc217b5dab7c7e70f9eded774 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/99/c7/9161c857cafe69aa3c090a2bfabe3167c746048bc05df4d979343cc6160a/deepspeech-0.0.3-cp36-cp36m-manylinux1_x86_64.whl#md5=31f86b1645c1afe39be4ac2cf46e59d4 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/9d/85/03978b5a103ea8726558c242b22a206bd4e39acf52d19e04898389215da4/deepspeech-0.0.2-cp36-cp36m-manylinux1_x86_64.whl#md5=4edd6fd02e2edffbc82075338fe4d731 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/a9/1d/33f626dd977ca8340d31aebc9f0f0acfe428e736f38bdba4fa1c0bdc15a9/deepspeech-0.1.0-cp35-cp35m-manylinux1_x86_64.whl#md5=7fab75bf33ef45e64077ecd201310cd7 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/bc/e5/ca25c7ed7212de79dd73f25f6441969adec1215e41909780c2199629b785/deepspeech-0.0.3-cp27-cp27mu-linux_armv7l.whl#md5=65a5ad830f90f192faeb1c85163a0ac6 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/cc/6b/9cb53f7e6d91da9a1dc3b1335216ee6ff11e66d04d4e90b130149a806ce8/deepspeech-0.1.0-cp34-cp34m-manylinux1_x86_64.whl#md5=c99ace927019cab7a5bfbd01c693ac62 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Skipping link https://pypi.python.org/packages/db/e6/62edd32cd40122743b4964b82efe40706704a799a826cb65f0215be8ad2e/deepspeech-0.0.3-cp35-cp35m-manylinux1_x86_64.whl#md5=ef199cd28a851a737e4b23ce79d48b02 (from https://pypi.python.org/simple/deepspeech/); it is not compatible with this Python
Could not find a version that satisfies the requirement deepspeech (from versions: )
Cleaning up...
No matching distribution found for deepspeech
Exception information:
Traceback (most recent call last):
File "/Users/jgossess/anaconda/envs/deepspeech-venv-35/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/Users/jgossess/anaconda/envs/deepspeech-venv-35/lib/python3.5/site-packages/pip/commands/install.py", line 335, in run
wb.build(autobuilding=True)
File "/Users/jgossess/anaconda/envs/deepspeech-venv-35/lib/python3.5/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/Users/jgossess/anaconda/envs/deepspeech-venv-35/lib/python3.5/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/Users/jgossess/anaconda/envs/deepspeech-venv-35/lib/python3.5/site-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/Users/jgossess/anaconda/envs/deepspeech-venv-35/lib/python3.5/site-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/Users/jgossess/anaconda/envs/deepspeech-venv-35/lib/python3.5/site-packages/pip/index.py", line 514, in find_requirement
'No matching distribution found for %s' % req
pip.exceptions.DistributionNotFound: No matching distribution found for deepspeech
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
5
Good hint, it is something likely possible, and that would be consistent with the manual install that fails this way
@jason.c.morrow Thanks for the suggestion, but I’ve already tried “pip install --upgrade pip”, no improvement in behavior. Pip is up to date. I did this both inside and outside my virtual environment.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
8
Your conda info shows OSX 10.11, is that right ? Our packages are targetting 10.12, that would explain why you cannot install them.
As a quick-hack, it might work that you rename the file deepspeech-0.1.0-cp35-cp35m-macosx_10_12_x86_64.whl to deepspeech-0.1.0-cp35-cp35m-macosx_10_11_x86_64.whl, but there is no guarantee it’s a good solution
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
10
You are having those issues with the Python package ? That’s unfortunate, we never ran into than while testing. Either something regressed, or our configuration differs in ways that made it work for us and not for you
Well, I’m having those issues trying the native client. Sorry, I should have been specific.
Where I’m at now with the python client is I’m missing the “output_model.pb” file for some reason.
For example, if I input this: deepspeech output_model.pb my_audio_file.wav alphabet.txt lm.binary trie
The output is: Loading model from file output_model.pb Not found: output_model.pb; No such file or directory Loaded model in 0.002s. Loading language model from files lm.binary trie libc++abi.dylib: terminating with uncaught exception of type util::ErrnoException: native_client/kenlm/util/file.cc:76 in int util::OpenReadOrThrow(const char *) threw ErrnoException because -1 == (ret = open(name, 0x0000))'. No such file or directory while opening lm.binary Abort trap: 6
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
12
Ah, staring at my terminal for too long. I just needed to run from within the model folder & change the .pb file name I’m calling from output_model.pb = what is listed in readme.md as of Dec. 1st, 2017
to output_graph.pb = the name the model unpacks as of Dec. 1st, 2017
I now get a result! “she had the duck so ingrecywachworallyear”. It is not quite what it should be, “She had your dark suit in greasy wash water all year.”, but I’m happy I’m getting things to run.
Thanks for the help.
lissyx
((slow to reply) [NOT PROVIDING SUPPORT])
14
Awesome!
Would you mind changing your topic to something that highlights that your issue was related to OSX 10.11 ? That might help others finding a solution. Also, it could be great if you could file an issue on Github about having support for OSX 10.11 ; I cannot promise anything for the near future, but it would be good to at least keep track of that!
@jeffmcneill@Justin_Gosses Could both of you quickly give me some feedback? We don’t have older OSX release in our hands and I’d like that someone verifies this before we do merge.