title: How do I make pip install binaries to a writable path?
body: <p>I have python 2.7 installed through homebrew and running <code>pip install -r requirements.txt</code> on a project's requirements file. The packages download, everything goes fine until it's time to link the binaries - then Pip tries to put the binaries for f2py (a dependency of a package in the requirements.txt file) into <code>/bin</code> and I'm left with this error:</p>
  
  <pre><code>IOError: [Errno 1] Operation not permitted: '/bin/f2py'
  </code></pre>
  
  <p>I don't have root access so I'd like for pip to put all binaries in <code>/usr/local/bin</code> instead. How do I tell pip to install binaries into that directory?</p>