I get the following error message when trying to set up a virtual environment with virtualenv 15.0.2 but receive OSError setuptools pip wheel failed with error code 1.
Removal of ~/.pydistutils.cfg worked for me.
See the following link (last answer): https://github.com/Homebrew/legacy-homebrew/issues/44836