title: sudo pip install django
body: <p>So this is my first attempt at trying to install Django, and when I ran it, it successfully installed Django-1.7.3 but I received these warnings below. I wasn't able to find any information about it online so I was hoping someone could clarify what they mean, if I need to fix them, and how I could go about doing that? </p>
  
  <p>Thanks! below is the output from my terminal</p>
  
  <pre class="lang-bash prettyprint-override"><code>macbook:~ Asif$ sudo pip install Django
  </code></pre>
  
  <pre class="lang-none prettyprint-override"><code>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
  </code></pre>