This topic describes how to install ApsaraVideo Media Processing (MPS) SDK for Python by using pip.
Preparations
Install Python 2.7 or 3.x.
Use pip to install the core library of Alibaba Cloud SDK for Python:
pip install aliyun-python-sdk-core
Install MPS SDK for Python:
pip install aliyun-python-sdk-mts==3.3.41
Install the Alibaba Cloud SDK Credentials package:
pip install alibabacloud_credentials
Note
We recommend that you configure credentials to complete identity verification. For more information, see Configure credentials.
Download MPS SDK for Python
Download MPS SDK for Python from Python Package Index.
Install MPS SDK for Python
Use pip to install MPS SDK for Python 2.x
pip install aliyun-python-sdk-core pip install aliyun-python-sdk-mts
Use pip to install MPS SDK for Python 3.x
pip install aliyun-python-sdk-core-v3 pip install aliyun-python-sdk-mts