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/
This will work for virtualenv pip wheel errorcode1 problems and also E unable to locate package problems
apt-get update
apt-get install python-software-properties
apt-get install apt-file
apt-file update
apt-get install software-properties-common
apt-get install <your filename>