From 98fb15c1249541c20549e81ac0990640055d7e39 Mon Sep 17 00:00:00 2001 From: Troy McConaghy Date: Sun, 22 Jan 2017 15:07:14 +0100 Subject: [PATCH] Added instructions to install fabric's OS-level dependencies --- docs/server/source/clusters-feds/aws-testing-cluster.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/server/source/clusters-feds/aws-testing-cluster.md b/docs/server/source/clusters-feds/aws-testing-cluster.md index 16a9791f..2df15917 100644 --- a/docs/server/source/clusters-feds/aws-testing-cluster.md +++ b/docs/server/source/clusters-feds/aws-testing-cluster.md @@ -18,6 +18,13 @@ The instructions that follow have been tested on Ubuntu 14.04, but may also work **Note: Our Python scripts for deploying to AWS use Python 2 because Fabric doesn't work with Python 3.** +You must install the Python package named `fabric`, but it depends on the `cryptography` package, and that depends on some OS-level packages. On Ubuntu 14.04, you can install those OS-level packages using: +```text +sudo apt-get install build-essential libssl-dev libffi-dev python-dev +``` + +For other operating systems, see [the installation instructions for the `cryptography` package](https://cryptography.io/en/latest/installation/). + Maybe create a Python 2 virtual environment and activate it. Then install the following Python packages (in that virtual environment): ```text pip install fabric fabtools requests boto3 awscli