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

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

Open
HRSAstro opened this issue Jan 29, 2024 · 0 comments
Open

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

HRSAstro opened this issue Jan 29, 2024 · 0 comments

Comments

@HRSAstro
Copy link

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

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

No branches or pull requests

1 participant