Error in running 'mt_prep_snap'

open .bashrc file in /home/Username
Then enter the below line, at the end of the .bashrc file.

export PATH=path of stamps upto bin (/home/username/stamps/bin):$PATH

then run
source .bashrc

It will solve your problem.