首页 > 技术文章 > python更改默认版本

wxkang 2020-08-03 15:02 原文

1. rm /user/bin/python
2. ln -s /usr/bin/python3.5 /usr/bin/python
3. PATH=/usr/bin:$PATH

推荐阅读