ubuntu1604安装Python版本

1 安装python3.7

默认的是3.5.
安装的链接。

2 修改默认的python指向

sudo rm /usr/bin/python
sudo ln -s /usr/bin/python3.7 /usr/bin/python

猜你喜欢

转载自blog.csdn.net/weixin_42089190/article/details/120746178