Django: Project setup error

Command - c:\>python django-admin.py install

returns

python: can't open file 'django-admin.py': [Errno 2] No such file or directory.

      

I have included python and django binaries in PATH (Windows)

python -

"C:\Python27\";

      

Django -

"C:\Python27\Lib\site-packages\Django-1.8-py2.7.egg\django\bin\"

      

but the same works fine if the path is given "django-admin.py"

.

+3


source to share


1 answer


You have to put django-admin.py

in your directory %PATH%

and run it directly without python

before.



More about PATH

here .

0


source







All Articles