From 4a1a1e83c8191a876ed0a9f16ad1c3653394dcd2 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 17 Oct 2017 09:37:34 +0000 Subject: [PATCH] Update Python 'setuptools' module to resolve issue Symptom of issue was this message: error in cryptography setup command: Invalid environment marker: platform_python_implementation != 'PyPy' --- bin/provision_test_vms.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/provision_test_vms.sh b/bin/provision_test_vms.sh index dfedb144..b5641cf6 100755 --- a/bin/provision_test_vms.sh +++ b/bin/provision_test_vms.sh @@ -17,7 +17,9 @@ function install_terraform() { function install_ansible() { sudo apt-get update || true - sudo apt-get install -qq -y python-pip python-dev libffi-dev libssl-dev && pip install --user -U cffi && pip install --user ansible + sudo apt-get install -qq -y python-pip python-dev libffi-dev libssl-dev \ + && pip install --user -U setuptools cffi \ + && pip install --user ansible export PATH="$PATH:$HOME/.local/bin" }