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

bug fix: restricting scipy version #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eriktks
Copy link
Member

@eriktks eriktks commented Apr 22, 2024

Running the notebook results in the error message:

cannot import name 'triu' from 'scipy.linalg'

This PR restricts the version of scipy to avoid the import error message

See: https://stackoverflow.com/questions/78279136/importerror-cannot-import-name-triu-from-scipy-linalg-gensim

@stijnh
Copy link
Member

stijnh commented Apr 23, 2024

Thanks for the contribution!

It seems that it still gives the same error: ImportError: cannot import name 'triu' from 'scipy.linalg'. The cause seem to be from gensim. Maybe we should limit the version of gensim instead?

@Kaszanas
Copy link

Thanks for the contribution!

It seems that it still gives the same error: ImportError: cannot import name 'triu' from 'scipy.linalg'. The cause seem to be from gensim. Maybe we should limit the version of gensim instead?

I hit the same issue. It seems that gensim is not constraining their use of scipy. The functionality itself is said to have been moved to numpy:

The scipy.linalg.triu is marked as deprecated in scipy.

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

3 participants