ctherien / pysptools

Hyperspectral library for Python
Apache License 2.0
50 stars 21 forks source link

Fails with scipy 1.13.1 #14

Open ramav87 opened 6 months ago

ramav87 commented 6 months ago

When attempting to run the NFINDR function, there is a call to scipy's _flinalg class.

              volume = math.fabs(sp.linalg._flinalg.sdet_c(TestMatrix)[0])

E AttributeError: module 'scipy.linalg' has no attribute '_flinalg'

I am not certain where this function now resides, but it was functioning as of Scipy 1.10.1.

unwellman commented 3 months ago

It looks like the last version of SciPy that has this function is 1.12.1. For my project I'm using Python's venv module so I downgraded the local installation of SciPy. Unfortunately I'm not well-versed enough in SciPy's documentation to suggest an actual fix, and it looks like this repo is abandoned.