bash: line 2: virtualenv: command not found Action failed: virtualenv[/quote]
This occurs in the “machine” section right after “Select Xcode Version” and “Restore cache”. I have no idea what to do about this, as “Rebuild without cache” also has no effect on this.
Thanks @sschuberth and @michaelcontento - this has highlighted that we were missing some tests for our macOS image. We will get virtualenv installed properly, and add proper regression tests for our image builder so that we don’t make this mistake again.
machine:
pre:
# virtualenv is automatically used by CircleCI,
# but it's not available in the macOS image.
- curl https://bootstrap.pypa.io/get-pip.py | sudo python -
- sudo -H pip install --upgrade virtualenv