This topic describes how to add dependencies and download SDK tools to install Alibaba Cloud SMS SDK for Python.
Note You must install the core library of the Python SDK regardless of the method that you use to install the Python SDK.
Prerequisites
Before you install and use the Python SDK, an Alibaba Cloud account is created and an AccessKey pair is created. For more information, see Create an AccessKey pair.
Installation methods
You can use the following two methods to install the Python SDK:
(Recommended) Use dependency managers
To install the core library of the Alibaba Cloud Python SDK, run the following command:
pip install aliyun-python-sdk-core
Download and install the Python SDK
You can run the git clone command or use other methods to download the aliyun-net-sdk-core library and implement a solution based on your business needs.
To download the aliyun-python-sdk-core library from GitHub, visit aliyun-python-sdk-core.
After the Python SDK is installed, you can use OpenAPI Explorer to generate the sample code of API operations for the SDK, and apply the sample code in your projects.