impacket module not found but installed

You could try python --version to see what the default runs as. If you have it installed in python3 you may need to specify that on the command line, or with python2 if you have it that way round.

I’ve no idea about the version of impacket.