We will then install the framework on which we will be working. The following sections describe how we can install Django on different operating systems.
To install Django with PIP, you have to open a command prompt and go to the Scripts
directory that you can find in the Python
folder. You can install Django with the following command:
C:\Python33\Scripts\pip.exe install django=="X.X"
PIP will download and install the Django packages in the site-packages
repository of Python.
To facilitate the PIP utilization that we have just installed, we have to look for the version installed on the system and define an alias to refer to the PIP version installed. Do not forget to execute the following commands as root:
root@debian:compgen -c | grep pip root@debian:alias pip=pip-3.2 root@debian:pip install django=="1.6"
The first command looks for a usable command containing the word pip
. You will certainly find a line such as pip...