Cannot import name '_vectorize_node' from 'pytensor.graph.replace'

That’s strange. Can you try to install pymc==5.15.0 instead?