Impacket is broken

It’s good practice to include more detail when asking for help/bug reports. Are you using a VM, PwnBx, Kali, or ParrotSec?
Anyway, check out this thread.