I am trying to get Python 2.7 to play well with pyenv and virtualenv on OSX El Capitan. I installed pyenv using Homebrew and then Python pyenv install 2.7.11 with pyenv install 2.7.11 . This describes the setup:
$ which python /usr/local/bin/python $ which virtualenv /usr/local/bin/virtualenv $ head -1 /usr/local/bin/virtualenv
.bashrc contains the lines:
export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)"
Now when I try to create a new virtualenv project:
$ pyenv virtualenv 2.7.11 newproject pyenv: pip: command not found
Any idea what I'm doing wrong?
source share