-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Cannot import scipy.linalg.triu #20680
Comments
Other error example: ImportError Traceback (most recent call last) File e:\python\amb\Lib\site-packages\gensim_init_.py:11 File e:\python\amb\Lib\site-packages\gensim\corpora_init_.py:6 ImportError: cannot import name 'triu' from 'scipy.linalg' (e:\python\amb\Lib\site-packages\scipy\linalg_init_.py) |
I appreciate there is frustration when problems are experienced, but please be civil when creating issues. np.triu Which package is trying to import |
Hello @andyfaff, why don't you fix an error that has been reported several times and causes problems for many people? You made an upgrade that broke several scripts, can you at least indicate a method to fix it? |
When A workaround would be to use The issue has already been addressed by the downstream package in piskvorky/gensim#3524. |
and once |
In this case the warnings were emitted since version 1.11 so downstream packages should pay attention to warnings before blaming us. If you use scipy 1.12 you should see it already if warnings are not silenced |
The error still persists with spicy==1.12 |
With which EDIT: The error shouldn't occur with |
Describe your issue.
Where is triu? Why remove stuff and broke other projects???
It's just a boring thing when these things happen.
Maintaining backwards compatibility would be a good thing.
Reproducing Code Example
Error message
SciPy/NumPy/Python version and system information
The text was updated successfully, but these errors were encountered: