Humann requires specific versions of metaphlan (and its dbs). In the recent past, I could not get a functional install of humann 3.9.
However, I can say that humann 3.8 is compatible with metaphlan 4.1 ( Getting humann and metaphlan to integrate ; includes installation directions for both humann and metaphlan via conda and how to execute them together)