This topic describes how to install Tablestore SDK for Python.


Python 2 or Python 3 is available.

Install Tablestore SDK for Python

  • Method 1: Use pip.

    Run the following command to install Tablestore SDK for Python:

    sudo pip install tablestore
  • Method 2: Use GitHub.

    Make sure that you have installed Git. For more information about how to download Git, visit Git. After Git is installed, run the following command:

    git clone
    sudo python  install              
  • Method 3: Use source code.
    1. Download the SDK package.
    2. Decompress the SDK package. Then, run the following command:
      sudo python install       

Verify Tablestore SDK for Python

To check the SDK version in the Python environment, enter python on the command line and press Enter.

>>> import tablestore
>>> tablestore.__version__

Uninstall Tablestore SDK for Python

Run the following command to uninstall Tablestore SDK for Python by using pip:

sudo pip uninstall tablestore