django-admin.py prints help only

前端 未结 6 523
无人共我
无人共我 2020-12-20 17:28

I am using django 1.3.1

I followed the online tutorial and tried to use \"django-admin.py startproject mysite\".

But I always receive this:

D         


        
6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-20 18:05

    If you are on Windows 7, update the registry entry at:

    HKEY_CLASSES_ROOT\Applications\python.exe\shell\open\command
    

    to have the value:

    "C:\Python27\python.exe" "%1" %*
    

    (modify the above value if you have installed python in a different location)

提交回复
热议问题