Sorry to be asking about scipy installs here, but I am also running into this problem. It appears to be a problem with scipy before I even import arviz.
build (benchmarks)$ python3
Python 3.9.6 (default, Apr 30 2025, 02:07:17)
[Clang 17.0.0 (clang-1700.0.13.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from scipy.signal import gaussian
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'gaussian' from 'scipy.signal' (/Users/bcarpenter/Library/Python/3.9/lib/python/site-packages/scipy/signal/__init__.py
I’ve updated scipy to the latest version.
>>> import scipy as sp
>>> sp.__version__
'1.13.1'
This is using an Apple M2 Max Mac Studio running Sequoia 15.5 (24F74).
Do I need to do something like use homebrew to install a different version of Python?