tencent cloud


Installing TCCLI

Last updated: 2020-03-11 19:59:13

    Installing TCCLI

    Operation Scenarios

    This document describes how to install TCCLI International Version.


    Before installing CLI, make sure that your system has the Python environment and pip tool installed.


    Python must be version 2.7 or higher. For more information, please see Python's official website and pip's official website.


    • TCCLI is dependent on the TencentCloudApi Python SDK. If the version number of the TencentCloudApi Python SDK is lower than that of TCCLI to be installed, the TencentCloudApi Python SDK will be automatically upgraded when TCCLI is installed.
    • If TCCLI Chinese Version has been installed, it will be automatically overwritten by the International Version.


    1. Install TCCLI by running the following command:
    pip install tccli-intl-en
    1. After the installation is completed, run the following command to check whether the installation is successful.
    tccli version


    If your environment is Linux, you can enable autocomplete feature by running the following command:

    complete -C 'tccli_completer' tccli

    Please note that a certificate issue may occur in Mac OS


    While installing Python 3.6 or later versions in Mac OS, you may get an error saying
    Error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056).
    This is because that in Mac OS, Python does not use the system default certificate nor provide a certificate. HTTPS requests require a certificate provided by certifi, which cannot be specified by SDK. Therefore you need to install a cerficiate using the command /Applications/Python 3.6/Install Certificates.command. "

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support