Installation

Last Updated: Sep 14, 2017

Prerequisites

Applicable to Python v2.6 and Python v2.7.

Installation

Method 1: Install Python by using pip.

The command is as follows:

  1. pip install tablestore

Method 2: Install Python by using GitHub.

Make sure you have installed git. Then execute the following command:

  1. git clone https://github.com/aliyun/aliyun-tablestore-python-sdk.git
  2. python setup.py install # Support python2.7 only

Method 3: Install Python by using source code.

  1. Download the Python SDK: aliyun-tablestore-python-sdk-4.2.0.tar.gz.

  2. Decompress the SDK and then execute the following command:

    1. python setup.py install # Support python2.7 only

Verify SDK

Enter python on the command line and press ENTER to check the version.

  1. >>> import tablestore
  2. >>> tablestore.__version__
  3. '4.1.0'

Uninstall SDK

Uninstall python SDK by using pip.

  1. pip uninstall tablestore
Thank you! We've received your feedback.