Before you run the files of the Virtual Private Cloud (VPC) SDK for Python, complete the required configurations.

Before you run the Alibaba Cloud SDK for Python, make sure that the following requirements are met:
  • An Alibaba Cloud account and an AccessKey pair (AccessKey ID and AccessKey secret) are required to use the Alibaba Cloud SDK for Python. You can create and view your AccessKey pair on the Console Logon Management page in the Resource Access Management (RAM) console.
  • Make sure that the Alibaba Cloud SDK for Python is installed. For more information, see aliyun-python-sdk-vpc 3.0.8.
  • The VPC Python example library is downloaded.
    Go to the directory wheresetup.py is located, and run the following command to initialize the environment:
    python setup.py install