Skip to content
Discussion options

You must be logged in to vote

Because the setup script of gensim relies on an implementation detail that does not work with PEP 517 build backend:

pip, however, doesn't enforce PEP 517 and will fall back to running setup.py if not available, so it works.

If you change the above line to:

import builtins
builtins.__NUMPY_SETUP__ = False

Everything works fine.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@miss85246
Comment options

@frostming
Comment options

Answer selected by miss85246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants