The directory '/Users/sandeepkrishnan/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/Users/sandeepkrishnan/Library/Caches/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Requirement already satisfied: django in /Library/Python/2.7/site-packages
答案 0 :(得分:0)
您正在将Django安装到Python 2.7而不是3.6中,但您已经在2.7中安装了它。要在Python 3.6中安装它,请尝试pip3 install django
并查看是否有效。