Command not found: django-admin.py

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

    If someone is facing the same problem, and is on MacOs, here is what I did, and it worked for me:

    If you've installed python directly from the official website, uninstall it, and install it once again using brew:

    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    
    $ brew install python3
    

    This will also install the pip3 for you, so you don't have to install it by yourself.

提交回复
热议问题