jjhelmus / nmrglue

A module for working with NMR data in Python
BSD 3-Clause "New" or "Revised" License
211 stars 86 forks source link

nmrglue fails loading due to scipy.minpack deprecation (1.9.3) #188

Closed ilsacripante closed 10 months ago

ilsacripante commented 1 year ago

Dear all,

I started having issues with nmrglue loading after scipy.optimize.minpack deprecation the function _check_func is not available anymore

` import nmrglue as ng

File ~\Anaconda3\lib\site-packages\nmrglue__init__.py:4 from .analysis import *

File ~\Anaconda3\lib\site-packages\nmrglue\analysis__init__.py:2 from . import leastsqbound

File ~\Anaconda3\lib\site-packages\nmrglue\analysis\leastsqbound.py:7 from scipy.optimize.minpack import _check_func

ImportError: cannot import name '_check_func' from 'scipy.optimize.minpack' ( REDACTED_PATH\Anaconda3\lib\site-packages\scipy\optimize\minpack.py)`

kaustubhmote commented 1 year ago

This was fixed in #167. Please see if the lates code from Github's main branch works for you.

jjhelmus commented 10 months ago

The fix (#167) is available in the 0.10 release of nmrglue available on PyPI. Closing this issue. Please re-open if this is still an issue.