title: pyenv: pip: command not found
body: <p>I'm trying to get Python 2.7 to play nicely with pyenv and virtualenv on OSX El Capitan.  I've installed <code>pyenv</code> with Homebrew, then Python 2.7.11 with <code>pyenv install 2.7.11</code>.  This describes the setup:</p>
  
  <pre><code>$ which python
  /usr/local/bin/python
  $ which virtualenv
  /usr/local/bin/virtualenv
  $ head -1 /usr/local/bin/virtualenv
  #!/usr/local/bin/python
  $ which pip
  /Users/username/bin/pip
  $ head -1 /Users/robinedwards/bin/pip
  #!/usr/local/bin/python
  $ pyenv install --list | grep 2.7.11
    2.7.11
  </code></pre>
  
  <p><code>.bashrc</code> contains lines:</p>
  
  <pre><code>export PYENV_ROOT="$HOME/.pyenv"
  export PATH="$PYENV_ROOT/bin:$PATH"
  eval "$(pyenv init -)"
  eval "$(pyenv virtualenv-init -)"
  </code></pre>
  
  <p>Now when I try to create a new virtualenv project:</p>
  
  <pre><code>$ pyenv virtualenv 2.7.11 newproject
  pyenv: pip: command not found
  </code></pre>
  
  <p>Any idea what I'm doing wrong?</p>