Skip to content

pylops/scipy.sparse.linalg import does not exist #249

@HRSAstro

Description

@HRSAstro

Hi,

I followed the conda installation instructions with no problems. However, I get an error running welcome.py after the matplotlib backend step. The issue arises with "import autolens as al" and gives the following error:

Screenshot 2024-01-29 at 14 00 22

I can reproduce this error in both my autolens and base environments:

Screenshot 2024-01-29 at 14 23 22

However, "from scipy.sparse.linalg._interface import _get_dtype" does work. This looks like a scipy version dependency, but I've not been able to track it down. scipy 1.11.3, 1.10.0 and 1.9.3 all give this error.

In the meantime, I went into the pylops code and changed all the instances of this import, and now the welcome script works fine. Hopefully, this will solve the problem without causing other issues.

Cheers,
Hannah

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions