Command not found: django-admin.py

前端 未结 27 1848
被撕碎了的回忆
被撕碎了的回忆 2020-12-03 02:40

I am a complete beginner to Python/Django, but I want to dive right in and start experimenting. Thus I was following this guide on installing Python/Django http://devcenter.

27条回答
  •  离开以前
    2020-12-03 03:36

    Actually, if you use Ubuntu, it's just django-admin not django-admin.py.

    Resides in /usr/bin
    Probably the same thing on Mac.
    You're using a Windows tutorial.

    It may also tell you

    python manage.py runserver
    

    and that is actually

    python ./manage.py runserver
    

提交回复
热议问题