Pages

Search

python

(Solution) Change python default version (Kali linux)

kali@kali:/bin$ update-alternatives –list python kali@kali:/bin$ sudo update-alternatives –install /usr/bin/python python /usr/bin/python2.7 1 kali@kali:/bin$ sudo update-alternatives –install /usr/bin/python python /usr/bin/python3.7 2 kali@kali:/bin$ sudo update-alternatives –install /usr/bin/python python /usr/bin/python3.8 3 kali@kali:/bin$ sudo update-alternatives –config python  Finally test everything is ok. 

(Solution) Install python-pip in Kali Linux

ruben@kali:/etc/apt$ sudo apt search python-pip ruben@kali:/etc/apt$ sudo apt search python3-pip ruben@kali:/etc/apt$ sudo apt install python3-pip Downloading the specific package and installing with dkpg can solve also the issue. https://packages.debian.org/buster/all/python-pip/download