Obtaining and Installing SDKs
Installing Python SDKs
This section provides instructions on how to install Python SDKs.
Obtaining DLI SDKs
On the displayed DLI SDK DOWNLOAD page, click the target link to obtain the desired SDK installation package.
Obtain the dli-sdk-python-x.x.x.zip package and decompress it. The following table shows the directory structure of the package.
Parameter |
Description |
---|---|
dli |
DLI SDK basic module in the Python environment |
examples |
Python sample code |
pyDLI |
Implementation interface of PyHive |
setup.py |
Python SDK installation script |
Installing DLI Python SDKs
- Download and decompress the SDK installation package.
Decompress dli-sdk-python-<version>.zip to a local directory that can be adjusted.
- Install the SDK.
- On a PC running the Windows OS, choose Start > Run, enter cmd, and press Enter.
- In the command-line interface (CLI) window, access the windows directory in the directory where dli-sdk-python-<version>.zip is decompressed. For example, D:\tmp\dli-sdk-python-1.0.8.
- Run the following command to install DLI Python SDK (During the installation, the third-party dependencies are automatically downloaded):
Figure 1 shows the installation result.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot