هذه الصفحة غير متوفرة حاليًا بلغتك المحلية. نحن نعمل جاهدين على إضافة المزيد من اللغات. شاكرين تفهمك ودعمك المستمر لنا.
- What's New
- Product Bulletin
- Service Overview
- Getting Started
- User Guide
- API Reference
-
SDK Reference
- Introduction to Moderation SDK
- Applying for a Service
- Obtaining Authentication Information
- Preparing the Environment
- Using the SDK (Java)
- Using the Python SDK
- Using the .NET SDK
- Using the Go SDK
-
FAQs
- Service Enabling
-
APIs
- How Do I Use Content Moderation APIs?
- What Should I Do When I Fail to Call a Content Moderation API?
- Can I Directly Upload a Word File for Text Moderation?
- What Are the Constraints on Concurrent API Calls?
- What Can I Do if the Request for Calling an API Times Out?
- How Do I Customize a Detection in Text Moderation?
- Can Content Moderation Traverse and Review the Content in an OBS Folder?
- Error Codes
- Monitoring
- Others
- Price Details
- Glossary
- General Reference
On this page
Show all
Help Center/
Content Moderation/
SDK Reference/
Using the Python SDK/
Obtaining and Installing the Python SDK
Copied.
Obtaining and Installing the Python SDK
To obtain and install the Python SDK, you are advised to use pip commands or PyCharm. You need to install the huaweicloudsdkcore and huaweicloudsdkmoderation packages as follows:
Install the Python SDK using pip commands: # Install the huaweicloudsdkcore package. pip install huaweicloudsdkcore # Install the huaweicloudsdkmoderation package. pip install huaweicloudsdkmoderation
To install the Python SDK using PyCharm, perform the following steps:
- Start PyCharm and choose File > Settings...
- Choose Python Interpreter.
- Click +, search for huaweicloudsdkcore and huaweicloudsdkmoderation, and click Install Package in the lower left corner to install the packages.
Figure 1 Installing the Python SDK for Content Moderation using PyCharm
Parent topic: Using the Python SDK
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot