python - Djano-admin.py startproject is not being able to be created -


whenever give django-admin.py startproject

i notepad of django-admin. means type in website inside ?

i have executed django-admin.py , django-admin.pyc in cmd also. still shows. should ?

you have - reason - created virtual environment inside actual python source directory on windows.

there nothing wrong this, except may face issues when uninstall or upgrade python.

to fix immediate problem, need follow these steps:

  1. close command prompt windows.
  2. open new command prompt.
  3. type following , hit enter activate virtual environment:

    c:\python27\scripts\pymote_ven\scripts\activate.bat 
  4. now, type following start project:

    python django-admin.py startproject nameofyourproject 

you should read documentation because have confused directories involved.


Comments