VMware Python SDK环境准备(Windows环境下)

  1. install virtual env for python3

VMware Python SDK环境准备(Windows环境下)
可以看到,自动安装在当前目录下
VMware Python SDK环境准备(Windows环境下)

  1. 进入虚拟环境
    注意:要以管理员权限打开cmd,否则下面的安装会失败
    vmware-sdk\scripts\activate.bat
  2. 安装需要的Python包
    VMware Python SDK环境准备(Windows环境下)

具体参考官方文档:
https://github.com/vmware/vsphere-automation-sdk-python#quick-start-guide

猜你喜欢

转载自blog.51cto.com/sampsondotqiu/2457846
今日推荐