Skip to content

install python

ArmanHC edited this page Apr 5, 2022 · 2 revisions

Python installation

You need to install python for run this source code

Ubuntu installation

sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.8
python --version

Debian installation

$ su
$ apt-get install sudo
$ sudo vim /etc/sudoers

CentOS and Fedora installation

yum update -y
yum install -y python3

MacOS Installation

  • official installer You can install python on official Python website

  • shell installation

  1. press CMD + Space
  2. Type terminal
  3. Press Enter

Terminal commands

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
$ brew update && brew upgrade

Windows Installation

You can download download Python installer from official python website