【发布时间】:2015-03-16 07:08:24
【问题描述】:
所以这是我第一次尝试安装 Django,当我运行它时,它成功安装了 Django-1.7.3,但我在下面收到了这些警告。我无法在网上找到任何关于它的信息,所以我希望有人能澄清他们的意思,如果我需要修复它们,以及我该如何去做?
谢谢!下面是我终端的输出
macbook:~ Asif$ sudo pip install Django
Password:
The directory '/Users/Asif/Library/Logs/pip' or its parent directory is not owned by the current user and the debug log has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want the -H flag.
The directory '/Users/Asif/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 the -H flag.
The directory '/Users/Asif/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 the -H flag.
Collecting Django
Downloading Django-1.7.3-py2.py3-none-any.whl (7.4MB)
100% |################################| 7.4MB 2.3MB/s
Installing collected packages: Django
Successfully installed Django-1.7.3
【问题讨论】: