problem installing Django

2

I downloaded Django and unpacked it on the desktop I went to Cmd I typed cd desktop shortly thereafter Django-1.6.2 > python setup.py install to install it, the following message appears:

  

'python' is not recognized as an internal command   or external, operable program or batch file.

What should I do?

    
asked by anonymous 31.12.2015 / 14:55

1 answer

2

First you need to install Python .

Download it on the official website . When you install, check the Add Python 3.5 to PATH option and install it.

After installing Python this way it will be listed in the PATH as a command and this error will stop. >

After that I advise you to use Virtualenv , it is for you to create a separate environment for each project.

pip install virtualenvwrapper-win

After installing you create a Virtualenv for your project:

mkvirtualenv nomedoseuprojeto

After that you have to work with your Virtualenv created:

workon nomedoseuprojeto

Now you have to install Django like this:

pip install django

It will install Django in your Virtualenv .

Windows Installation Guide

    
31.12.2015 / 15:09