Installation Guide For Django (Python)

Introduction

Django is one of the most popular python web framework. Although it is considered as an MVC framework but basically it is an MTC (model, template, controller) architecture . You can install Django in your Ubuntu Operating System by following the below mentioned steps –

Before we start, I hope you are familiar with all sort of Linux commands and their  execution. So, without any further wastage of time let’s get started with the installation process.

Step 1:

If we are working on a linux system python will be installed by default. You can just verify it by typing “python” in your terminal. ( ctrl+z to exit ). All we need is to just install Django.

Although there are a number of ways to do so, but as per my experience this is the best so far.

For installation of Django first we need to install pip in our system. This can be done by the following command.

sudo apt-get update

sudo apt-get install python-pip

Although Django does not work on python 3 but still if you want to install pip for python 3 you can go for the following command ‘sudo apt-get install python3-pip’

Step 2:

Now as you have installed pip in your system you can proceed with the installation of Django. You just have to type the following command.

sudo pip install django

The above command will install django in your system. Also, it will ask you to upgrade it if it was already installed in your system. The upgradation can be made by the following command.

sudo pip install django –upgrade

Now your system is loaded with Django, just to verify the installation run the following command

django-admin –version

NOTE: Make sure that you have the latest Django version running on your system else it may create some troubles in the future processing of your project.

 

Django
  • January 1st, 2016

You May Also Like

How To Install phpmyadmin in Ubuntu 16.04 LTS
  • April 25th, 2016

From What so ever source you upgrade your system to ubuntu 16.04 it willl remove the mcrypt from the present system if you have phpmyadmin previously installed in the system. This will create a error of “mbstring”. To rectify this and install phpmyadmin in your 16.04 ubuntu please run th following commands one by one. […]

WordPress Plugins – Email, Print, Fonts Size Plugins (All in One)
  • February 5th, 2016

Our Plugin is a remarkable Plugin which works to facile the users with various exceptional options. It provides the users with the options to Send an Email, Print a Post and Increasing and Decreasing the Font Size of a post along with the addition of appropriate buttons to the content. A user can perform a […]

Installation Guide For Django (Python)
  • January 1st, 2016

Introduction Django is one of the most popular python web framework. Although it is considered as an MVC framework but basically it is an MTC (model, template, controller) architecture . You can install Django in your Ubuntu Operating System by following the below mentioned steps – Before we start, I hope you are familiar with […]

Django
  •  January 1st, 2016
keyboard_arrow_up