I think I have an issue with pymc install as
n = 100
h = 61
alpha = 2
beta = 2
with pm.Model() as model: # context management
p = pm.Beta(“p”, alpha=alpha, beta=beta)
y = pm.Binomial(“y”, n=n, p=p, observed=h)
idata = pm.sample()
az.summary(idata, kind=“stats”)
gives the same error
pymc 5.0.2
python 3.11.0
spyder 5.4.2
spyder-kernels 2.4.2
I installed pymc in its own environment following this