Updated on 2022-04-29 GMT+08:00

Configuring the Python Environment

Prerequisites

  • Ensure that Python 3 has been installed. Currently, Python SDKs support only Python 3.
  • Ensure that setuptools and websocket-client have been installed.

Procedure

  1. Download the SDK and run the pip-list command to view the installation package. If setuptools, requests, and websocket-client have not been installed, run the following commands:
    pip install setuptools
    pip install requests
  2. Go to the directory of the downloaded Python SDK and run the python setup.py install command in the directory where setup.py is located to install the SDK.