Here are the modifications i made:
I changed:
import bip_utils
instead of
import bip32utils
and
root_key = bip_utils.BIP84Key.fromEntropy(seed)
instead of
root_key = bip32utils.BIP32Key.fromEntropy(seed)
but that doesn't work: AttributeError: module 'bip_utils' has no attribute 'BIP84Key'
Any ideas? Thanks a lot, i appreciate your help:)