In this video, we are going to learn how to install python, paramiko, and Django in our 2
computer. 3
I will use windows in here, if you all use mac or linux, I think, the installation process 4
will be much easier. 5
Okay. 6
To download python, you can go to python.org/download. 7
Here we can download the latest version, in this case the latest version is version 3.7.2, 8
or if you want to download another version, you can go to all releases then here we can 9
see all versions so we can download the version that we want. 10
but in this course, We will use the latest version, which is version 3.7.2. 11
now let’s download the python version 3.7.2 ... 12
If the download is complete. 13
you can just open the python installer, when we click the Python installer, we will get 14
display like this. 15
I recommend you to check "Add python 3.7 to path". 16
Then click install now, yes ... then the installation process will take place. 17
We just need to wait until the installation process is complete. 18
The installation process is complete. 19
To ensure that Python is installed on our computer, we can open a command prompt, then 20
type python --version. 21
Here we can see that we have python version 3.7.2. 22
This is means that we have successfully installed Python on our computer. 23
Next we will learn how to install paramiko. 24
If you don't know about paramiko yet, you can see the paramiko documentation at paramiko.org. 25
here we can see that paramiko is a python library, it supports python version 2.7 or 26
3.4 and above, the goal of paramiko is to be able to implement ssh version 2, both as 27
a client and as a server. 28
On this course, we will use paramiko as a ssh client, the paramiko will act as a library 29
that will do SSH to Cisco routers and mikrotik routers. 30
Okay let’s install paramiko, open a command prompt, then type pip install paramiko. 31
Wait until the installation process is complete. 32
Here we can see a warning that we are using pip version 18.1, while for now, pip already 33
has version 19.0.3, so we are recommended to upgrade pip. 34
Okay we have finished installing paramiko and upgrading pip, to prove that paramiko 35
has been installed correctly on our computer, we can enter the python interpreter by typing 36
python, then here we can try to import paramiko. 37
Okay here we don't get an error, meaning the paramiko has been successfully installed on 38
our computer. 39
We can exit from this python interpreter by typing exit. 40
Next we will learn how to install Django. 41
If you don't know about Django yet, you can see the Django documentation in djangproject.com, 42
... here we can see that Django is a python web framework, so we can use Django to build 43
a website with python. 44
Okay, let's install Django, it's similar to how to install paramiko, we only need to open 45
the command prompt and type pip install Django. 46
To prove that Django is installed properly or not, we can enter the Python interpreter, 47
then type import django. 48
Okay here we also don't get an error, meaning that Django is successfully installed on our 49
computer. 50
Now, we have successfully installed python, paramiko and Django on our computer. 51
Thankyou for watching, and See you on the next video.