1. environment

release version: bionic

kernel version:4.15.0-29-generic

 

2.install pip

2.1 sudo apt-get install python3-distutils (resolve a problem:ImportError:cannot import name 'sysconfig')

2.2 wget https://bootstrap.pypa.io/get-pip.py

2.3 sudo python3 get-pip.py