This is the updated and error free driver for TP-link wn772n v2/3 wifi adapter.
sudo apt update
sudo apt install dkms bc
git clone https://github.com/Munazirul/rtl8188eus
cd rtl8188eus
echo "blacklist r8188eu.ko" >> "/etc/modprobe.d/realtek.conf"
echo "blacklist 8188eu.ko" >> "/etc/modprobe.d/realtek.conf"
sudo make
sudo make install
sudo reboot
(must)sudo modprobe 8188eu
(Only if the wifi networks are not shown on your machine)
If you still face any trouble installing this driver on your Kali machine, my suggestion is to download Parrot OS Home 5.0.1 from - https://deb.parrot.sh/parrot/iso/5.0.1/Parrot-home-5.0.1_amd64.iso.torrent or https://deb.parrot.sh/parrot/iso/5.0.1/ There is no need to install any driver on your parrot OS Home edition. "Do not" update or upgrade your Parrot OS after downloading and installing it on virtualBox (apt update and upgrade). I am personally using my TP-Link adapter on my Parrot OS Home without the requirement of any driver.