{"id":28354,"library":"tencentcloud-sdk-python-solar","title":"Tencent Cloud Solar SDK for Python","description":"Tencent Cloud Solar SDK for Python enables developers to interact with Tencent Cloud Solar services. Version 3.0.1394. Released as part of the Tencent Cloud SDK family with frequent updates.","status":"active","version":"3.0.1394","language":"python","source_language":"en","source_url":"https://github.com/TencentCloud/tencentcloud-sdk-python","tags":["tencentcloud","solar","sdk","cloud"],"install":[{"cmd":"pip install tencentcloud-sdk-python-solar","lang":"bash","label":"Install via pip"}],"dependencies":[{"reason":"Required for authentication and base client","package":"tencentcloud-sdk-python-common","optional":false}],"imports":[{"note":"Client is in a versioned subpackage","wrong":"from tencentcloud.solar import SolarClient","symbol":"SolarClient","correct":"from tencentcloud.solar.v20181011 import solar_client"},{"note":"Models are in the models module","wrong":"","symbol":"DescribeProjectRequest","correct":"from tencentcloud.solar.v20181011 import models"}],"quickstart":{"code":"import os\nfrom tencentcloud.common import credential\nfrom tencentcloud.solar.v20181011 import solar_client, models\n\ntry:\n    cred = credential.Credential(\n        os.environ.get('TENCENTCLOUD_SECRET_ID', ''),\n        os.environ.get('TENCENTCLOUD_SECRET_KEY', '')\n    )\n    client = solar_client.SolarClient(cred, 'ap-guangzhou')\n    req = models.DescribeProjectRequest()\n    req.ProjectId = 'your_project_id'\n    resp = client.DescribeProject(req)\n    print(resp.to_json_string())\nexcept Exception as e:\n    print('Error:', e)","lang":"python","description":"Instantiate client and make a request to describe a solar project."},"warnings":[{"fix":"Always use the version as shown in the official docs; currently v20181011.","message":"The API version (v20181011) is hardcoded in imports. Check the latest version in documentation if API changes.","severity":"gotcha","affected_versions":">=3.0.0"},{"fix":"Verify service availability on Tencent Cloud official site.","message":"The solar service might be deprecated or replaced. Confirm in Tencent Cloud console.","severity":"deprecated","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Run: pip install tencentcloud-sdk-python-solar tencentcloud-sdk-python-common","cause":"The 'tencentcloud-sdk-python-solar' package not installed, or installed without the common package.","error":"ModuleNotFoundError: No module named 'tencentcloud.solar'"},{"fix":"Set secret id and key via environment variables or pass directly.","cause":"Environment variables TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY not set.","error":"tencentcloud.common.exception.TencentCloudSDKException: The SecretId is not found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}