安装python3.8
找了些升级命令,在环境中没成功,如 apt-get install python3.8
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package python3.8 E: Couldn't find any package by glob 'python3.8' E: Couldn't find any package by regex 'python3.8'
最后参考 https://tecadmin.net/install-python-3-8-ubuntu/,通过源码安装的