TencentCloud / tencentcloud-sdk-php

Tencent Cloud API 3.0 SDK for PHP
Apache License 2.0
351 stars 188 forks source link

安装失败 #97

Closed JieAnthony closed 3 years ago

JieAnthony commented 3 years ago
"require": {
        "php": "^8.0",
        "fideloper/proxy": "^4.4",
        "fruitcake/laravel-cors": "^2.0",
        "guzzlehttp/guzzle": "^7.0.1",
        "laravel/framework": "^8.40"
    }
Using version ^3.0 for tencentcloud/tencentcloud-sdk-php
./composer.json has been updated
Running composer update tencentcloud/tencentcloud-sdk-php
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - tencentcloud/tencentcloud-sdk-php[3.0.1, ..., 3.0.26] require guzzlehttp/guzzle 6.3.0 -> found guzzlehttp/guzzle[6.3.0] but it conflicts with your root composer.json require (^7.0.1).
    - tencentcloud/tencentcloud-sdk-php[3.0.27, ..., 3.0.256] require guzzlehttp/guzzle ^6.3 -> found guzzlehttp/guzzle[6.3.0, ..., 6.5.x-dev] but it conflicts with your root composer.json require (^7.0.1).
    - tencentcloud/tencentcloud-sdk-php[3.0.257, ..., 3.0.463] require guzzlehttp/psr7 ^1.4 -> found guzzlehttp/psr7[1.4.0, ..., 1.x-dev] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - tencentcloud/tencentcloud-sdk-php[3.0.464, ..., 3.0.468] require guzzlehttp/psr7 ^1.8 -> found guzzlehttp/psr7[1.8.0, 1.8.1, 1.8.2, 1.x-dev] but the package is fixed to 2.0.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires tencentcloud/tencentcloud-sdk-php ^3.0 -> satisfiable by tencentcloud/tencentcloud-sdk-php[3.0.1, ..., 3.0.468].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

composer info

guzzlehttp/guzzle                       7.3.0
guzzlehttp/promises                     1.4.1
guzzlehttp/psr7                         2.0.0