python - Installing Django Error [SOLVED--must set Path Variable from Environmental Variables FIRST!!!] -


ok trying install django using tutorial.(tutorial.)

i download latest release (1.6.2) , untar(unzip) it.

then open file contains django on desktop , copy directory.

i open command prompt.

from c:\users\name\desktop> type cd , paste directory.

this opens django directory c:\users\name\desktop\django-1.6.2

inside file there setup.py file.

according tutorial if type python setup.py install install django me! , happens in tutorial video not in case!!!

when type gives me following:

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

if go django file , double-click setup.py file momentarily see in window (before closes) error: no commands supplied

what must do? trying install django 2 days , getting frustrating.

for quick solution 1. @ answer + this post , choose melhosseiny 's answer(thanks wolph)!

use command c:\python27\python setup.py install

additionally, if don't want add c:\python27\ of python commands, need add windows path. can done going environment variables , add c:\python27 (notice lack of trailing slash) path variable. make sure adding to, not replacing, values there present.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -