Also, I brew installed a new version of Python with a new version of scipy and I still have the same problem.
build (benchmarks)$ /opt/homebrew/bin/python3.13
Python 3.13.5 (main, Jun 11 2025, 15:36:57) [Clang 17.0.0 (clang-1700.0.13.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.signal import gaussian
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
from scipy.signal import gaussian
ImportError: cannot import name 'gaussian' from 'scipy.signal' (/opt/homebrew/lib/python3.13/site-packages/scipy/signal/__init__.py)
>>> import scipy as sp
>>> sp.__version__
'1.16.1'