Contents
How do I make python 3 default in Kali Linux?
Open terminal and write “alias python=python3” and hit enter. You are done! Now check your default interpreter version by simply run “python -V” command in the terminal.
How do I change the default version of python in Kali Linux?
Change default Python version in Kali Linux
- Check current python version : – python –version.
- Login as root user : – sudo su.
- Execute: update-alternatives –install /usr/bin/python python /usr/bin/python3 1.
- Check python version again: python –version.
- Your default python is changed.