Skip to content

Python installation

A̵̱͠P̴̭̋0̷̯̂C̴̄͜4̵̣̒L̸̦̋Y̶̤̿P̴̭̋S̴̶̯͚͆̿ edited this page Jun 2, 2024 · 1 revision

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