1
0
mirror of https://github.com/vmware/vsphere-automation-sdk-python.git synced 2024-11-22 01:39:58 -05:00

Update install cmd description.

We asked user to use `pwd` to locate the current folder in mac and linux. But different shell interpreted the cmd differently and thus confuse people sometimes. Replace it with <absolute_path_to_sdk> to make it clear and avoid confusion.
This commit is contained in:
Tianhao He 2018-07-30 12:11:02 -07:00 committed by GitHub
parent 1380d7d338
commit 6cf1026da2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,15 +45,9 @@ A Python virtual environment is also highly recommended.
```cmd ```cmd
git clone https://github.com/vmware/vsphere-automation-sdk-python.git git clone https://github.com/vmware/vsphere-automation-sdk-python.git
cd vsphere-automation-sdk-python cd vsphere-automation-sdk-python
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:///<absolute_path_to_sdk>/lib
``` ```
* Linux/Mac:
```cmd
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file://`pwd`/lib
```
* Windows:
```cmd
pip install --upgrade --force-reinstall -r requirements.txt --extra-index-url file:///absolute_dir_to_sdk/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 **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 ### Connect to a vCenter Server