python3 -m pip install .(or
python2 -m pip install .for Python 2.x) from the directory where you placed it. This will install the classes into the default Python modules path; note that you might need special permissions to write there.
docker build -t “impacket:latest” .
docker run -it –rm “impacket:latest”