Help Center> Content Moderation> SDK Reference> Using the Python SDK> Preparing a Python Development Environment
Updated on 2023-07-17 GMT+08:00

Preparing a Python Development Environment

To use the Python SDK of Content Moderation, you need to configure the Python development environment.

  1. Download Python of a proper version from Python official website and install it. Python3.3 or later is recommended. This section uses Python 3.7 as an example.
  2. Download the latest version of PyCharm from PyCharm's official website.
  3. Start the PyCharm development tool and choose File > Settings > Project Interpreter to configure the Python environment.
  4. Select the Python installation path. See Figure 1. After selecting the target Python, click Apply at the bottom of the page to complete the configuration.
    Figure 1 Configuring the python environment using PyCharm