kali linux python2 install code example Example: python version kali linux $ python2 --version or $ python --version