I was running into the same error with bambi 0.16.0 but was able to fix by pinning to formulae 0.5.4.
bambi 0.16.0
formulae 0.5.4