python
发现python版本只有2.7 。试图使用以下方式更新:
sudo apt install python3.9
会出现如下报错信息:
wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh
适用于当前时刻的版本请至anaconda官网自行查阅.
If you enter “no”, then conda will not modify your shell scripts at all. In order to initialize after the installation process is done, first run
source <path to conda>/bin/activate
and then run
conda init
上方图片第一句话输入时,cd在个人文件夹。
成功后输入:
python
查看python版本,成功更新。