Command not found: django-admin.py

前端 未结 27 1845
被撕碎了的回忆
被撕碎了的回忆 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
    python3 -m django startproject mango
    
    0 讨论(0)
  • 2020-12-03 03:37

    As Timmy said above, it could just be that django-admin.py is not on your system path. See here - https://code.djangoproject.com/wiki/InstallationPitfalls - for 3 possible causes with solutions.

    0 讨论(0)
  • 2020-12-03 03:38

    There was a space in one of the names in the path to my project. I set up a new virtual environment in a new directory and did all the same things and it works.

    Sometimes it is the simple things...

    0 讨论(0)
  • 2020-12-03 03:39

    I changed my complete python path to desktop and tried and it's working well for me

    0 讨论(0)
  • 2020-12-03 03:40

    I had the same issue when migrating to AWS Beanstalk it was installed and everything but i noticed the alias was not working but when i called the entire thing path and all it worked so i just rebooted the boxes and it worked i think the alias list is not updated automatically after you install.

    0 讨论(0)
  • 2020-12-03 03:41

    If you come across command not found: django-admin.py problem which means you don't installed django frame work. You should install the framework using pip.

    pip install django
    

    After that look at the directory if the related script exist or not.
    Look into C:\Python27\Scriptsfolder to check for django-admin.py exist or not.

    0 讨论(0)
提交回复
热议问题