Skip to content
Snippets Groups Projects
  1. Jul 11, 2023
  2. Jul 10, 2023
  3. Jul 05, 2023
  4. Jul 03, 2023
  5. May 15, 2023
  6. May 06, 2023
  7. Nov 28, 2022
  8. Nov 06, 2022
  9. Oct 06, 2022
  10. Oct 04, 2022
  11. May 30, 2022
  12. Mar 30, 2022
  13. Mar 24, 2022
    • Bas Nijholt's avatar
      Fix ImportError for scipy 1.8.0 · 4a6830ff
      Bas Nijholt authored
      See
      - https://github.com/scipy/scipy/pull/15220
      - https://github.com/scipy/scipy/issues/14360
      
      
      Currently, it gives the following error message:
      ```
      ---------------------------------------------------------------------------
      ImportError                               Traceback (most recent call last)
      Input In [29], in <module>
      ----> 1 from scipy.sparse.linalg import linsolve
      
      ImportError: cannot import name 'linsolve' from 'scipy.sparse.linalg' (/nfshome/basnijholt/mambaforge/envs/qms-lab-20220224-main/lib/python3.9/site-packages/scipy/sparse/linalg/__init__.py)
      ```
      
      With this change, the following warning is emitted:
      ```
      /tmp/scratch/basnijholt/ipykernel_59547/2794395227.py:1: DeprecationWarning: The module `scipy.sparse.linalg.dsolve.linsolve` is deprecated. All public names must be imported directly from the `scipy.sparse.linalg` namespace.
        from scipy.sparse.linalg.dsolve import linsolve
      ```
      
      The following gives no warning:
      ```
      from scipy.sparse.linalg._dsolve import linsolve
      ```
      
      However, we should reconsider using private features.
      4a6830ff
  14. Jun 22, 2021
  15. Jun 21, 2021
  16. Jun 18, 2021
  17. Jun 17, 2021
  18. Jan 19, 2021
  19. Aug 26, 2020
Loading