gensim icon indicating copy to clipboard operation
gensim copied to clipboard

Implement numpy hack in setup.py to enable install under Poetry

Open jaymegordo opened this issue 2 years ago • 4 comments

Fixes https://github.com/RaRe-Technologies/gensim/issues/3362

Confirmed poetry install works on M1 mbp with this fix.

poetry add git+ssh://[email protected]:jaymegordo/gensim.git#fix_3362

jaymegordo avatar Jul 08 '22 19:07 jaymegordo

Thanks! Let's wait for @mpenkov 's review and we can merge.

piskvorky avatar Jul 08 '22 19:07 piskvorky

Btw I literally just copied the first fix I googled for haha, no idea if there's a more elegant way to do it, or really what any of the __builtins__ stuff does.

jaymegordo avatar Jul 08 '22 19:07 jaymegordo

Also will resolve #3225

jaymegordo avatar Jul 08 '22 19:07 jaymegordo

Hi Team,

We also facing an issue with this: without this fix, gensim cannot be installed via poetry 1.2. Any chance this can be reviewed and merged?

Appreciating your help in advance.

vladyslav-burylov avatar Aug 19 '22 11:08 vladyslav-burylov