3. Installation de Python 3 en ligne de commande

3.1. Ubuntu

sudo apt update sudo apt install python3 python3-pip sudo apt install python3-dev build-essential

3.2. Mac

Site python.org fournit CPython pour macOS, qui nécessite une petite centaine de mégaoctets ; si HomeBrew est installé, celui‑ci permet d’installer CPython empaqueté par la communauté :

$ brew install python3 $ python3 –version Python 3.7.0

3.3. Windows

  1. ouvrir Cmd

  2. python-3.7.5.exe /layout [optional target directory]