Raspberry-pi python shell 仍然是 运行 旧版本 python

Raspberry-pi python shell still running older version of python

我是 linux 的新手,也是 python 的新手。我正在尝试按照使用 python 3.9 的教程进行操作,但是我使用的是 python 3.4.2。一旦我意识到我已经过时了,我就下载了 python 3.9.0,当我 运行

python -V

在终端中是 stats Python 3.9.0,但是 python shell 仍然是 运行ning 3.4.2

我不确定如何更改当前项目的 python 版本,或者在 python 3.9 中单击菜单中的 python 3 空闲时启动新项目.

它仍然显示 python 3.4.2

那么如何让 python 空闲到 运行 python 3.9.0 而不是 3.4.2?

我的电脑上也有2个python版本(2和3),我通常做的是在~/.bashrc中添加一个别名,并在需要时更新它,例如alias python="python3" 或者如果只需要 python2 alias python="python2"