All Products
Search
Document Center

Simple Log Service:Install Simple Log Service SDK for Python

Last Updated:Jun 02, 2026

Install the Simple Log Service SDK for Python before building applications that read from or write to Simple Log Service.

Prerequisites

Before you begin, ensure that you have:

  • Python installed with a development environment such as PyCharm

    The SDK supports the following Python versions. Run python -V to check your version.

    • Python 2.7

    • Python 3.7 or later

    • PyPy 2.7

    • PyPy 3.7 or later

  • The Python package manager pip installed

    Run pip -V to verify your pip version. For Python 3, run pip3 -V instead.

Install the SDK

Run the following command to install the latest version of the SDK. For available releases, see aliyun-log-python-sdk releases.

pip install -U aliyun-log-python-sdk

Verify the installation

Run the following command to check that the SDK is installed:

pip show aliyun-log-python-sdk

A successful installation returns output similar to the following:

Name: aliyun-log-python-sdk
Version: 0.9.12
Summary: Aliyun log service Python client SDK
Home-page: https://github.com/aliyun/aliyun-log-python-sdk
Author: Aliyun

FAQ

What should I do if I see the error "'pip' is not recognized as an internal or external command"?

This error occurs on Windows when the Python or pip installation directory is not in your system's PATH environment variable. Add the Python installation directory and its Scripts subdirectory to PATH, then restart your command prompt or computer.

What to do next