title: Why i can't do some things without sudo using Python and pip?
body: <p>When I use pip it usually doesn't work without sudo. I often see people use pip without sudo, so what am I doing wrong?</p>
  
  <p>I read that it is not recommended to install pip packages with sudo. I know that with <code>virtualenv</code> I can use pip without sudo, but to install <code>virtualenv</code> I have to use sudo first.</p>
  
  <p>When I try to install pip without sudo, I get:</p>
  
  <pre><code>PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/pip'
  </code></pre>
  
  <p>When trying to install flask with <code>pip3 install flask</code>:</p>
  
  <pre><code>PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.4/dist-packages/werkzeug'
  </code></pre>