The Django1.6.8 development environment under the Ubuntu Linux platform is built __linux

Source: Internet
Author: User

Existing environmental conditions are: The operating system is Ubuntu Linux, and it has Python (version 2.6.5). If you don't have Python installed on your system, you'll need to download and install Python yourself.

By looking at the various versions of Django, I found that only 1.6.8 of the most recent Django releases were able to match the latest Django release version in the current Python 2.6.5. Therefore, decide to choose the Django 1.6.8 as the installation object.

Next, we go to https://www.djangoproject.com/download/to download django-1.6.8.tar.gz.

Then, copy the following command to complete the Django installation:

1.tar XZVF django-1.6.8.tar.gz
2.CD django-*
3.sudo python setup.py Install

At this point, the installation is complete.

We can check if the installation version is correct:

To view the Django version:
root@danny:/mnt/test/django-1.6.8# python
Python 2.6.5 (r265:79063, APR 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type ' help ', ' copyright ', ' credits ' or ' license ' for the more information.
>>> Import Django
>>> Django. VERSION
(1, 6, 8, ' final ', 0)
>>>

Installation location:
root@danny:/ls/usr/local/bin/*.py
/usr/local/bin/django-admin.py

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.