When trying to install virtualenv using a brewed python, I get the following error:
$ pip install virtualenv
Requirement already satisfied (use --upgrade to
I had the same problem and I managed to solve it by uninstalling any brew versions of Python and virtualenv
brew uninstall python
brew uninstall pyenv-virtualenv
Manually moving all the virtualenv* files I found under /usr/local/bin
to another folder
sudo mkdir /usr/local/bin/venv-old
sudo mv /usr/local/bin/virtualenv* /usr/local/bin/venv-old/
Opening a new terminal tab and double-checking that I'm in a clean state
which python # => /usr/bin/python
which virtualenv # => virtualenv not found
And installing Python and virtualenv(wrapper) cleanly using the recommended method (here and here):
brew install python --with-brewed-openssl
# Open a new terminal tab now (to access /usr/local/bin/python)
pip install virtualenv
pip install virtualenvwrapper