packages icon indicating copy to clipboard operation
packages copied to clipboard

Missing package: blis

Open pabou38 opened this issue 6 years ago • 7 comments

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

pabou38 avatar Mar 22 '19 10:03 pabou38

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.

bennuttall avatar Mar 22 '19 18:03 bennuttall

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.

pabou38 avatar Mar 25 '19 16:03 pabou38

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

topshed avatar Mar 24 '20 17:03 topshed

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.

bennuttall avatar Mar 24 '20 18:03 bennuttall

It took about 45 minutes to build

topshed avatar Mar 25 '20 08:03 topshed

Closing as an upstream issue. I made a suggestion to them but no action taken.

bennuttall avatar Sep 27 '20 01:09 bennuttall

This is now resolved, but pending a new release: https://github.com/explosion/cython-blis/issues/22

bennuttall avatar Dec 07 '20 09:12 bennuttall