我尝试在 Ubuntu 23.04 上将 python3.10 与本机 python3.11 一起安装,但看起来不可用。
mika@system:~$ sudo apt update && sudo apt install python3.10
Hit:1 http://ru.archive.ubuntu.com/ubuntu lunar InRelease
Get:2 http://ru.archive.ubuntu.com/ubuntu lunar-updates InRelease [109 kB]
Hit:3 https://repo.yandex.ru/yandex-browser/deb stable InRelease
Get:4 http://ru.archive.ubuntu.com/ubuntu lunar-backports InRelease [99.8 kB]
Get:5 http://security.ubuntu.com/ubuntu lunar-security InRelease [109 kB]
Fetched 317 kB in 1s (295 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done …Run Code Online (Sandbox Code Playgroud)