Learn Python Episode #2: Mac/Linux Installation

preview_player
Показать описание
Learn Python programming and more with our Learn to Code course Bundle!

The first thing that we need to do to get into programming with Python is installing it. In this video we will discuss the three different methods for installing Python on your system. First, we will discuss MacOS because that is the system I will be using. So, what we're going to do is open up the terminal and run a Ruby command to download and install Homebrew:

brew install python3

MacOS does ship with a version of Python 2 pre-installed, but we will be using Python 3 in this tutorial series. To verify that Python 3 was installed, run the follow command:

python3 --version

If you are using Ubuntu, or some other Debian based Linux distribution, you are going to open up a terminal window and run the following command:

sudo apt-get install python3

Similar to Mac, you can type python3 --version to verify that it was installed correctly. Fedora now comes with Python 3 as a system dependency, and if you are using RHEL/CentOS you will type the following command in terminal to install Python 3.6.1:

sudo yum install python36u

Рекомендации по теме
Комментарии
Автор

kindly tell me that how to install on windows 7. thanks

aijazalisoomro
Автор

The video is awesome, please i use windows and never use Linux before will it be difficult for me as a beginner.

nitrotech
Автор

Do u prefer Ubuntu or Fedora for Linux installation?

bharathv
Автор

hello greetings from Guayaquil Ecuador 🇪🇨, on Fedora26 python3.6 is installed by default 👍😁💻. Anyway the command is:
$ sudo dnf install software_name

soldadopreciso
Автор

sir, i am from india plase tell me ethical hakeing vidio in hindi

prajapatidevendra
welcome to shbcf.ru