From 90131f5c11d65a0da760e08983d0445f101fb330 Mon Sep 17 00:00:00 2001 From: Steve Trefethen Date: Mon, 22 Oct 2018 13:54:46 -0700 Subject: [PATCH] Add example pip install I've added an example of the pip install command for OSX which illustrates what's expected as the --extra-index-url. --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 9e2d9885..c0542f8a 100644 --- a/README.md +++ b/README.md @@ -42,12 +42,23 @@ A Python virtual environment is also highly recommended. ### Installing Required Python Packages +See example below for specifying the --extra-index-url parameter. + ```cmd git clone https://github.com/vmware/vsphere-automation-sdk-python.git cd vsphere-automation-sdk-python pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:////lib ``` +Example pip install command on Mac OSX. + +*NOTE*: Be sure to change username "strefethen" to your username: + +```cmd +pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:///Users/strefethen/github/vsphere-automation-sdk-python/lib +``` + + **NOTE:** The SDK also requires OpenSSL 1.0.1+ if you want to connect to vSphere 6.5+ in order to support TLS1.1 & 1.2 ### Connect to a vCenter Server