ANTsX / ANTsPy

A fast medical imaging analysis library in Python with algorithms for registration, segmentation, and more.
https://antspyx.readthedocs.io
Apache License 2.0
608 stars 161 forks source link

cannot import name '_centered' from 'scipy.signal.signaltools' #509

Closed Abhi-Gan closed 4 months ago

Abhi-Gan commented 10 months ago

Describe the bug Error: cannot import name '_centered' from 'scipy.signal.signaltools'

This error is documented for scipy >= 1.8.0

To Reproduce numpy: '1.23.5' pandas: '1.5.2' scipy: 1.11.3

import ants Error: cannot import name '_centered' from 'scipy.signal.signaltools'

Expected behavior import ants without error for updated version of scipy

cookpa commented 8 months ago

Thanks for the report

cookpa commented 8 months ago

BTW, I installed the latest available Mac OS binary (for python 3.9) successfully on Intel Mac (OS 12.7). The dependencies resolve to earlier versions of numpy etc that don't have this problem.