question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation fails due to conflicting botocore version

See original GitHub issue

Hi, users are unable to run Dmn-python-lambda due to dependency conflict with botocore package. As shown in the following full dependency graph of Dmn-python-lambda, Dmn-python-lambda requires botocore>=1.5.62,<2.0.0,while boto3==1.4.4 requires botocore>=1.5.0,<1.6.0.

According to pip’s “first found wins” installation strategy, botocore 1.16.16 is the actually installed version. However, botocore 1.16.16 does not satisfy botocore>=1.5.0,<1.6.0.

Dependency tree-----------

dmn-python-lambda - 3.3.1
| +- boto3(install version:1.4.4 version range:==1.4.4)
| | +- botocore(install version:1.5.95 version range:>=1.5.0,<1.6.0)
| | | +- docutils(install version:0.14 version range:>=0.10)
| | | +- jmespath(install version:0.9.5 version range:<1.0.0,>=0.7.1)
| | | +- python-dateutil(install version:2.7.5 version range:>=2.1,<3.0.0)
| | | | +- six(install version:1.11.0 version range:*)
| | | | +- six(install version:1.11.0 version range:>=1.5)
| | +- jmespath(install version:0.9.5 version range:<1.0.0,>=0.7.1)
| | +- s3transfer(install version:0.1.13 version range:>=0.1.10,<0.2.0)
| | | +- botocore(install version:1.16.19 version range:>=1.3.0,<2.0.0)
| +- botocore(install version:1.16.19 version range:>=1.5.62,<2.0.0)
| +- click(install version:6.6 version range:==6.6)
| +- docutils(install version:0.14 version range:<0.15,>=0.12)
| +- futures(install version:3.3.0 version range:*)
| +- jmespath(install version:0.9.5 version range:>=0.9.0,<0.10.0)
| +- pyaml(install version:15.8.2 version range:==15.8.2)
| | +- pyyaml(install version:3.13 version range:*)
| +- python-dateutil(install version:2.7.5 version range:<2.8.0,>=2.5.3)
| | +- six(install version:1.11.0 version range:*)
| | +- six(install version:1.11.0 version range:>=1.5)
| +- pyyaml(install version:3.13 version range:>=3.11,<3.14)
| +- six(install version:1.11.0 version range:<1.12.0,>=1.10.0)

Thanks for your help. Best, Neolith

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10

github_iconTop GitHub Comments

4reactions
NeolithEracommented, May 30, 2020

Solution

  1. Loosen the version range of boto3 to be >=1.4.4.
  2. Remove your direct dependency botocore, and use the botocore transitively introduced by boto3.
  3. Loosen the version range of botocore to be >=1.5.62,<1.6.0. @nficano Which solution do you prefer, 1 ,2 or 3? Please let me know your choice. May I pull a request to solve this issue?
2reactions
zacharyabreschcommented, Jun 2, 2020

I’m also having this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

botocore version conflict between awscli, boto3, and moto
Performing a side by side pip install of awscli, boto3, botocore, and moto results in an incompatible conflict.
Read more >
Build fails installing awsebcli because of botocore version
Description We are trying to install awsebcli using the command pip3 install awsebcli --upgrade and it's failing: Could not find a version that...
Read more >
python installing boto3 - could not find a version even though ...
When I check on PyPi.org, I see results for boto3 package. Any reason why this error comes up? Any other index/option I could...
Read more >
botocore - PyPI
A low-level interface to a growing number of Amazon Web Services. The botocore package is the foundation for the AWS CLI as well...
Read more >
Troubleshooting AWS CLI errors - AWS Command Line Interface
Possible cause: You're trying to use an AWS CLI feature newer than your installed version, or have incorrect formatting. Example error text:.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found