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.
I finally resorted to using conda to set up an environment rather than virtualenv. Apparently virtualenv is not compatible with anaconda.
Info in this link helped me set it up:
https://uoa-eresearch.github.io/eresearch-cookbook/recipe/2014/11/20/conda/