Help Center> Content Moderation> SDK Reference> Using the Python SDK> Preparing a Python Development Environment

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's official website and install it. Python 2.6+ and Python 3.x are supported. Python 3.x is recommended. The following 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, as shown in 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