Before you execute the files of Classic Load Balancer (CLB) SDK for Python to use CLB features, you must complete the common configurations that are described in this topic.


Before you run the code in script mode, make sure that the following requirements are met:
  • An AccessKey ID and an AccessKey secret that are used for identity verification are created for your Alibaba Cloud account. For more information, see Obtain an AccessKey pair.
  • The example library of CLB Python is downloaded. For more information, see CLB Python example library.
    Go to the directory where the file is stored, and run the following command to initialize the environment:
    python install