Command not found: django-admin.py

前端 未结 27 1973
被撕碎了的回忆
被撕碎了的回忆 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:19

    For Windows Users first search for django-admin, right click on the file that has been found and open file location and keep it open.

    Using Windows Powershell, cd into the the folder where you want to create your django project

    when your in the right folder write the full path of where django-admin is located in my case I am using Anaconda 3 so the file location is

    C:\Users\Sen\Anaconda3\Scripts

    so in Windows PowerShell type C:\Users\Sen\Anaconda3\Scripts\django-admin.py startproject [name of project]

    hope this helps!

提交回复
热议问题