Unable to Install Library with Composer due to guzzlehttp/psr7 conflict

659 views
Skip to first unread message

Nick Harris

unread,
Jan 6, 2017, 12:57:04 AM1/6/17
to AdWords API Forum
I run the command "composer require googleads/googleads-php-lib" and this is what I get:

Using version ^25.0 for googleads/googleads-php-lib
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - googleads/googleads-php-lib 25.0.0 requires google/auth ^0.7 -> satisfiable by google/auth[v0.7].
    - Installation request for googleads/googleads-php-lib ^25.0 -> satisfiable by googleads/googleads-php-lib[25.0.0].
    - Conclusion: remove guzzlehttp/psr7 1.3.1
    - Conclusion: don't install guzzlehttp/psr7 1.3.1
    - google/auth v0.7 requires guzzlehttp/psr7 1.2.* -> satisfiable by guzzlehttp/psr7[1.2.0, 1.2.1, 1.2.2, 1.2.3].
    - Can only install one of: guzzlehttp/psr7[1.2.0, 1.3.1].
    - Can only install one of: guzzlehttp/psr7[1.2.1, 1.3.1].
    - Can only install one of: guzzlehttp/psr7[1.2.2, 1.3.1].
    - Can only install one of: guzzlehttp/psr7[1.2.3, 1.3.1].
    - Installation request for guzzlehttp/psr7 (locked at 1.3.1) -> satisfiable by guzzlehttp/psr7[1.3.1].

Installation failed, reverting ./composer.json to its original content.

Any ideas how to get it to work?

Peter Oliquino

unread,
Jan 6, 2017, 1:09:07 AM1/6/17
to AdWords API Forum
Hi Nick,

Could you confirm if you have followed this guide in setting up your PHP client library? If yes, and if the issue persists, you may get in touch directly with the library owner through here. Hope this helps.

Thanks and regards,
Peter
AdWords API Team
Reply all
Reply to author
Forward
0 new messages