If you need to install CrackMapExec (CME), which for some reason isn’t included in Kali Linux, you can do so with the following commands:
apt-get install -y libssl-dev libffi-dev python-dev build-essential
apt-get install virtualenvwrapper
source /usr/share/virtualenvwrapper/virtualenvwrapper.sh
mkvirtualenv CME
(CME) #~ pip install crackmapexec
Lifted from the CME Wiki install instructions.