Django launches new project error

I installed Python2.6 and Django1.2.4 on Vista. or so I think django is installed. I will verify this by opening the python shell (command line from the python folder) and typing the following:

import django 
django.get_version()

The result was "1.2.4". From this I understand that python works first, and secondly that django is installed, recognized.

Following the training course from the Django website, I went in cycles on the first: creation of the project

django-admin.py startproject mysite

I wrote this in a new command prompt window, chdir my path to the folder, I decided that he would save the project, and then wrote the line above. The error is this:

E:\Workspace>django-admin.py startproject mysite

'django-admin.py' is not recognized as an internal or external command, operating program, or batch file.

"python" , . , PATH, bin django python. django-admin.py Python/Scripts. , , . - , .

!

+3
2

Python/Scripts PATH? , PATH, .

+6

, PATH Python\scripts.

+1

Source: https://habr.com/ru/post/1788879/


All Articles