Command not found: django-admin.py

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

    It has to do with the PATH:

    Put this in the .bash_profiel and the source it (for mac users only): (change the location with the location of your installed python libraries)

    PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:${PATH}"
    export PATH
    

提交回复
热议问题