The *only* way to successfully execute Django python command is with “python …PATH…django-admin.py [options]”. Why can't it be reduced?

前端 未结 2 827
情深已故
情深已故 2021-01-25 15:27

This is a followup to this question.

The first step in the Django tutorial says to call

django-admin.py startproject mysite

But here is th

2条回答
  •  旧巷少年郎
    2021-01-25 15:54

    We have very similar problem but I was able to fix it without having to go through half of your troubleshooting steps.

    Turns out, I have the ;C:\Python34\Scripts\ path present in both User variables for... and System Variables. I may have added the path to user variables accidentally and forgot to delete it.

    Delete the ;C:\Python34\Scripts\ path in your User variables for... and it should fix the problem.

提交回复
热议问题