Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to install Django Web Framework on Ubuntu 14.04 ?

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1.04k
    Comment on it

    Django is Python web framework for developing dynamic websites and applications. Using Django we can develop Python web applications faster.

    There are number of ways for installing Django, for now I will discuss two ways for installing Django

    i) Global install from Packages

    ii) Global install through pip

     

    If you want to install Django using Ubuntu repositories, the process is straight forward. Firstly update local packages with apt and then install python-django package:

    Install Django in just writing 2 commands

    sudo apt-get update
    sudo apt-get install python-django

    Now check the version of django installed by typing

    django-admin --version

    Output of above command

    1.6.1

     

    Install Django through pip:

    If you wish to install Django globally then the best way to install it is through pip. Following commands will install Python 3 and Django

    sudo apt-get update
    sudo apt-get install python3-pip
    sudo pip3 install django

    Now verify that installation is successfull

    django-admin --version

     

    Output of the above command:

    1.7.5

     

    Thats all!

    Thanks for reading the blog

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: