From 7c37d2bffcfcb2f869c5931266ee28718b23b945 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Mon, 11 Dec 2017 05:50:16 -0800 Subject: [PATCH] Launch virtualenv should be python2 virtualenv on the puppetmaster is defaulting to python3 now but all our dev header files for python are for python2. Force python2 when creating the virtualenv so that pycrypto can be built. Additionally ansible likely wants python2 here anyways. Change-Id: I19bc1985fc4b6a722b10fb0b89a86127e27340fe --- launch/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch/README b/launch/README index 4ab27a7fb7..8e674ee206 100644 --- a/launch/README +++ b/launch/README @@ -16,7 +16,7 @@ Launching a node currently requires a different version of ansible than what is generally used on the puppetmaster. Set up a virtualenv:: - virtualenv ~/launch-env/ + virtualenv -p python2 ~/launch-env/ . ~/launch-env/bin/activate pip install ansible==2.1.1.0 shade==1.12.1