我的 Ubuntu 设备上有多个 python 版本。首先是Python 2.7.15+,然后是Python 3.6.8,最后是我想要的Python 3.7。
我可以使用py访问 2.7 使用python3 访问 3.6 并使用python3.7访问 3.7
但我只想使用 3.7 版本并使用 py 访问它,我该怎么做呢?我还安装了 pip,它默认使用 2.7 版本。这就是为什么我想卸载其他两个 python。
python ubuntu visual-studio-code
python ×1
ubuntu ×1
visual-studio-code ×1