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.
Running
conda install -c anaconda virtualenv=15.1.0
worked for me.
This is because virtualenv doesnt work with pip while conda exists on your system.
You can save yourself from all this hustle by just downloading latest version of python, install it before you begin openstack or devstack installation. Go to https://www.python.org/downloads/. Installing latest version of python will replace the older version and install all the libraries you need. This saved me four days of trying to install devstack
For 3.7.3, i did a pip install --upgrade pip (from 18.1 to 19.1)
Then i did the required installation and it worked (for pyinstaller)
I got this error while having several python versions installed on my mac. Specifying which python version to be used for your new virtual environment solves the issue.
By specifying the absolute python path:
virtualenv -p /usr/bin/python2.7 venv
or use your default python link:
virtualenv -p python3 venv
Anaconda does seem to sometimes mess up with virtualenv.
Specifying the python system version /usr/bin/python3.5
instead of the conda one solved the issue.
Simply you can do this:
Python 2: virtualenv env
Python 3 : python3 -m venv env