[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Python client library\n\n| **Note:** Google provides the Cloud Translation API client library for Python as a single package for both Cloud Translation - Advanced and Cloud Translation - Basic. This page describes how to install the client library for Cloud Translation - Advanced. To use the client library for Cloud Translation - Basic, see the [installation instructions](/translate/docs/reference/libraries/v2/python).\n\n\nThis page provides reference documentation and related resources for the\nCloud Translation Python client library.\n\n### Installation\n\n\nTo install the client library:\n\n\nFor more on setting up your Python development environment, refer to the\n[Python Development Environment Setup Guide](/python/docs/setup).\n\n```\npip install --upgrade google-cloud-translate\n```\n\nUsing the client library\n------------------------\n\nTo use the Python client library for Cloud Translation - Advanced, you must\nimport the Cloud Translation API client library as follows: \n\n from google.cloud import https://cloud.google.com/python/docs/reference/translate/latest/google.cloud.translate_v2.client.Client.html_v3\n\nSee how to\n[translate text](/translate/docs/advanced/translating-text-v3#translating_text)\nfor additional usage details."]]