Joel Nieto
Joel Nieto

Reputation: 51

No matching distribution found for botocore<1.22.0,>=1.21.0 (from awsebcli)

CircleCi returns the following error:

No matching distribution found for botocore <1.22.0,> = 1.21.0 (from awsebcli).

enter image description here

My config.yml file installs the following dependencies:

Upvotes: 5

Views: 8978

Answers (4)

elonaire
elonaire

Reputation: 1994

In my case, the issue is that I have two python versions installed. So using python3 worked smoothly

python3 ./aws-elastic-beanstalk-cli-setup/scripts/ebcli_installer.py

Upvotes: 14

JRichardsz
JRichardsz

Reputation: 16515

If you are working on a docker container provided by aws: FROM amazon/aws-cli the python version is: 2.7.18

In that case, if you see this error:

ERROR: After October 2020 you may experience errors when installing or updating packages. This is because pip will change the way that it resolves dependency conflicts.

I used this to fix it:

pip install awsebcli botocore==1.19.63 --upgrade --use-feature=2020-resolver

1.19.63 could be different in your case

Upvotes: 2

antgel
antgel

Reputation: 1249

This issue has been raised upstream. The suggested workaround from there is sudo pip3 install awsebcli botocore==1.19.63 --upgrade.

Upvotes: 1

ndc_lara
ndc_lara

Reputation: 23

These commands work for me:

- apt-get update && apt-get install -y python-dev
- apt install python3 -y
- apt install python3-pip -y
- export LC_ALL=C.UTF-8
- pip3 install awsebcli --upgrade

Upvotes: 2

Related Questions