From ecda276b9648c8f2e68aeee5d1421ad753192a52 Mon Sep 17 00:00:00 2001 From: Anusha Hegde Date: Thu, 20 Jun 2019 13:02:50 +0530 Subject: [PATCH] updating new installation instructions Signed-off-by: Anusha Hegde updating installation instructions Signed-off-by: Anusha Hegde --- README.md | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 195fc6ba..3873da64 100644 --- a/README.md +++ b/README.md @@ -43,28 +43,11 @@ A Python virtual environment is also highly recommended. ### Installing Required Python Packages -See example below for specifying the --extra-index-url parameter. +Be sure to upgrade to the latest pip and setuptools. ```cmd -git clone https://github.com/vmware/vsphere-automation-sdk-python.git -cd vsphere-automation-sdk-python -pip install --upgrade -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 -r requirements.txt --extra-index-url file:///Users/strefethen/github/vsphere-automation-sdk-python/lib -or -pip install --upgrade -r requirements.txt --extra-index-url file://$PWD/lib -``` - -Example pip install command on Windows. - -```cmd -pip install --upgrade -r requirements.txt --extra-index-url file:\\\C:\Users\strefethen\github\vsphere-automation-sdk-python\lib +pip install --upgrade pip setuptools +pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git ``` **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