Enter python, python2, python3 in the terminal
Python and python2 are both python2 by default
python3 is python3
There is no pip by default under Ubuntu, you need to install it manually
sudo apt install python-pip #install python2 pip
sudo apt install python3-pip # install python3 pip
pip list #View the pip installation package under python2
pip3 list #View the pip installation package under python3
Recommended Posts