mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-22 01:39:58 -05:00
Merge pull request #105 from vmware/strefethen-pip-install-example
Add example pip install
This commit is contained in:
commit
d836d54df0
11
README.md
11
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:///<absolute_path_to_sdk>/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
|
||||
|
Loading…
Reference in New Issue
Block a user