Open pabou38 opened 5 years ago
Ok well blis only supports Python 2.7, 3.5 and 3.6 so that's why the 3.4 build failed: http://paste.debian.net/1074266
As for the 3.5 build, here's the output: https://paste.ubuntu.com/p/SkBqtJQgTD/ (ignore the fact it's on ubuntu's pastebin, that's irrelevant)
@pabou38 if you find out how to build it please post the instructions here! Thanks
And please use the missing package template in future.
Hello ..
No I did not find a way to build it. I tried to mess around with the make file, (diting the json file to remove mention of core-avx2), (as the first error is « gcc: error: unrecognized argument in option ‘-march=core-avx2’ », but without any luck
In the 3.5 build mentionned below, (Ubuntu pastebin), the error is the same as the one I get when building on the PI. Note that I’m using Python 3.5 as well
Note that I just tried to pip install spacy==2.1, and same problem
It is a pity, as BLIS seems the only package preventing SPACY NLP to install on the PI, and the PI is an ideal platform for education and hobbyist NLP
Anything I need to do ? do you see a path forward ?
Thanks in advance
Pascal Boudalier
De : Ben Nuttall Envoyé le :vendredi 22 mars 2019 19:25 À : bennuttall/piwheels Cc : pascal boudalier; Mention Objet :Re: [bennuttall/piwheels] Missing package: blis (#132)
Ok well blis only supports Python 2.7, 3.5 and 3.6 so that's why the 3.4 build failed: http://paste.debian.net/1074266 As for the 3.5 build, here's the output: https://paste.ubuntu.com/p/SkBqtJQgTD/ (ignore the fact it's on ubuntu's pastebin, that's irrelevant) @pabou38 if you find out how to build it please post the instructions here! Thanks And please use the missing package template in future. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
blis is using x86 specific build parameters. I was able to install spacy by using
BLIS_ARCH="generic" pip3 install spacy
on my Pi 4
That's a strange way of getting the architecture: https://github.com/explosion/cython-blis/blob/master/setup.py#L134 0- don't know why they don't use platform
from the standard library. I'll have a look later and maybe send a PR.
@topshed thanks for the info. What's the build time? Might be worth importing.
It took about 45 minutes to build
Closing as an upstream issue. I made a suggestion to them but no action taken.
This is now resolved, but pending a new release: https://github.com/explosion/cython-blis/issues/22
Missing package Package name: blis Link to PyPI page: https://pypi.org/project/blis Link to piwheels page: https://www.piwheels.org/project/blis Version: all Python version: all More information:
This prevent the state offre the art NLP environment spacy to build on raspberry.
Thank you