Installing the Python SDK

The Python SDK provides GitHub and pip two installation modes.

Method 1: Downloading the GitHub Source Code

Download the code to a proper position of your project. Use pythonsdk as an example. Run the following commands to download the source code and install the SDK:

git clone https://github.com/huaweicloud/huaweicloud-sdk-python pythonsdk

cd pythonsdk

pip install -r requirements.txt

python setup.py install

Method 2: Run the Following Command:

pip install huaweicloud-sdk-python