Step 1: Ensure that you have the python 2.7 software setup.
Step 2: Install using PIP manager, by running the following comand at the terminal prompt:
$ sudo pip install Django==1.10.4
Downloading/unpacking Django==1.10.4
Downloading Django-1.10.4-py2.py3-none-any.whl (6.8MB): 6.8MB downloaded
Installing collected packages: Django
Found existing installation: Django 1.8.4
Uninstalling Django:
Successfully uninstalled Django
Successfully installed Django
Cleaning up...
$
Step 3: Confirm the installation by importing the django module in Python interpreter:
$ python
Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 17:02:03)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> import django
>>> django.VERSION
(1, 10, 4, u'final', 0)
>>> exit()
$
References:
https://www.djangoproject.com/download/
Step 2: Install using PIP manager, by running the following comand at the terminal prompt:
$ sudo pip install Django==1.10.4
Downloading/unpacking Django==1.10.4
Downloading Django-1.10.4-py2.py3-none-any.whl (6.8MB): 6.8MB downloaded
Installing collected packages: Django
Found existing installation: Django 1.8.4
Uninstalling Django:
Successfully uninstalled Django
Successfully installed Django
Cleaning up...
$
Step 3: Confirm the installation by importing the django module in Python interpreter:
$ python
Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015, 17:02:03)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> import django
>>> django.VERSION
(1, 10, 4, u'final', 0)
>>> exit()
$
References:
https://www.djangoproject.com/download/
No comments:
Post a Comment