Simple Message Queue (SMQ) allows you to send and receive messages by using SMQ SDK for Python. This topic describes how to install SMQ SDK for Python.
Environment requirement
Python 2.5 or later is installed. You can download Python from the official website.
Python comes with the pip plug-in. You do not need to separately install the pip plug-in. After you install Python, you can run the python -V
command to check the version of the installed Python.
Procedure
Use the pip plug-in to install SMQ SDK for Python.
Use the pip plug-in to install SMQ SDK for Python of the latest version by running the following command:
pip install aliyun-mns-sdk
Download the source code to install SMQ SDK for Python.
Download the SMQ SDK for Python package of the latest version from GitHub. Decompress the package and check whether the setup.py file exists in the directory.
Run the following command to install SMQ SDK for Python:
python setup.py install
For more information about the versions of SMQ SDK for Python, see Release notes.