Builds are failing because there is a conflict with six 1.4.1 that comes with Python 2.7 and a newer version required by some of the dependencies. Pip attempts to uninstall six 1.4.1 but it fails because it doesn't have permission to remove files and directories in the path where six is installed by default: /Library/Python/2.7/site-packages/
Builds are failing because there is a conflict with six 1.4.1 that comes with Python 2.7 and a newer version required by some of the dependencies. Pip attempts to uninstall six 1.4.1 but it fails because it doesn't have permission to remove files and directories in the path where six is installed by default:
/Library/Python/2.7/site-packages/
OSX versions affected: 10.13 and 10.14 (potentially others) pip version: 20.0.2
Solution
Add a flag to ignore six when installing pip modules:
sudo -H pip install -U virtualenv --ignore-installed six