ubuntu18.04下默认带的是python3.6,但是因为需求需要升级为python3.7
sudo apt install python3.7
python3 --> python3.6
python3 -->3.7
cd /usr/bin
ls -l | grep python
sudo rm /usr/bin/python3
sudo ln -s python3.7 python3
参考: https://blog.csdn.net/yiyu3344/article/details/90102410