Help Center/ AI DataLake/ SDK Reference/ Engine-specific SDKs/ Python SDKs/ Python Environment Configuration
Updated on 2026-11-06 GMT+08:00

Python Environment Configuration

Scenarios

Before installing and using Python SDKs, make sure you have completed the basic configuration of your development environment.

It is recommended to use Python version 2.7.10 or later, or Python 3.4.0 or later. You must also configure the Visual C++ compilation environment, such as Visual C++ build tools or Visual Studio.

Procedure

  1. Download Python from Python's official website and install it.
  1. Check whether the configurations succeed. Specifically, at the Start menu, enter cmd and press Enter to bring up the command prompt window. Enter python and press Enter. If the version information is displayed, as shown in Figure 1, Python is successfully installed and configured.
    Figure 1 Checking the configuration

If you encounter an error similar to "error: Microsoft Visual C++ xx.x is required. Get it with Build Tools for Visual Studio" when installing the Python application package, the C++ compiler may not been installed. In this case, install the Visual Studio compiler of the required version. For some OSs, restart the system after Visual Studio is installed.