Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid crushing due to AttributeError during poetry install #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

juanhuguet
Copy link

The hack around numpy during installation with poetry throws an attribute error due to the lack of the attribute during.

    Preparing metadata (pyproject.toml): finished with status 'error'
    error: subprocess-exited-with-error
    
    × Preparing metadata (pyproject.toml) did not run successfully.

(...)

    AttributeError: 'dict' object has no attribute '__NUMPY_SETUP__'

This is due to the hack to prevent numpy to prevent it is still in its setup process.

IMHO, this has been fixed in gensim 4.3.0 and It is not causing problems anymore so it is not needed.

I added a try/except in order to let the installation continue in case it is not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant