[python] python2 and python3 under ubuntu

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

[python] python2 and python3 under ubuntu
Install python3.6 under Ubuntu 16.04
Python MySQLd under Ubuntu
ubuntu18.04 compile and install python3.8
Installation and use of GDAL in Python under Ubuntu
Install and deploy Gerrit under Ubuntu
Redis installation under ubuntu and windows
Install nodejs and npm under Ubuntu 16.04
Python Chinese encoding setting under ubuntu
Install Python3 and ansible under CentOS8
Install Python3 and Py under CentOS7
Coexistence of CUDA8.0 and CUDA9.0 under Ubuntu 16.04
Compile and install QEMU under Ubuntu
Ubuntu16 upgrade Python3
ubuntu18.04 install python2
Relearn ubuntu --python3
Python and Go
ubuntu18.04 install python
ubuntu16.04 upgrade python2
51 MCU program development and download under Ubuntu
Installation and uninstallation of CUDA under Ubuntu 16.04
Deploy python3 and nginx projects on ubuntu18.04
Build a python development environment under Ubuntu
DLNA/UPnP Server installation and configuration under Ubuntu 12.04
Configure node js and npm under Ubuntu 14.04
Ubuntu18.04 switch Python version
Install apache+PHP under Ubuntu
Python introspection and reflection
Install node.js under Ubuntu
Summary: Ubuntu Python2.x and
ubuntu configuration python, Red
Install Thrift under ubuntu 14.10
Install OpenJDK10 under Ubuntu
Install Caffe under Ubuntu 14.04
Ubuntu16.04 switch python version
Installation of pulseaudio and API usage under Ubuntu 12.04
Ubuntu20.04 experience and beautification
Ubuntu introduction and installation
Use iptables under ubuntu
2018-09-11 Install arduino under Ubuntu
Install Python3 on Ubuntu 14.04
LNMP installation under Ubuntu
Network configuration under Ubuntu
Python virtual environment: Ubuntu16.04
Install python in Ubuntu
Install Python3 on Ubuntu 16.04
Install ROS under ROS Ubuntu 18.04[2]
Kaldi installation and configuration graphic tutorials under Ubuntu
Python deconstruction and packaging
Install MySQL under Ubuntu
Install Yarm-PM2 under Ubuntu
Python3 configuration and entry.md
Audio and video editing tool stack under ubuntu
Ubuntu backup and restore
Install Python3.7 on Ubuntu
How to repackage Deb files under Debian and Ubuntu
Install win7 and archlinux on hard disk under ubuntu
Add new users under ubuntu and kick out online users
Compile and install OpenJDK8 from source code under Ubuntu 18.04.1
Cpp web (1) Install and use Crow service under Ubuntu
Installation and usage instructions of rz/sz command under ubuntu