1.在Python官网上下载Python3

2.安装成功后which python3查看一下路径

3.Preference->project interpreter->Base interpreter下改变一下python解释器