最終更新:2022-09-26 (月) 15:27:43 (571d)  

Ubuntu/Python
Top / Ubuntu / Python

Ubuntu/パッケージ

  • python3-all: package depending on all supported Python 3 runtime versions

Ubuntu 20.04

python-is-python3

  • symlinks /usr/bin/python to python3

メモ

  • pythonを入れようとするとpython-is-python2がselectされる
    user@vm:~$ sudo apt install python --dry-run
    [sudo] password for user: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Note, selecting 'python-is-python2' instead of 'python'

Ubuntu 18.04

切り替え

ターミナルが開かなくなる

  • Python 3.8のときは38っぽいけどなんにせよpython3を切り替えると影響がでかいのでオススメしない