Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS Boto3 Compatibility Issue, How can I install an older version of Boto3?

I'm trying to deploy my Django project to AWS Elastic Beanstalk.
The tutorial I am following is suggesting I use Boto3 to link up my S3 Database.

The problem is when I am installing Boto3 i am getting this message in red.

awsebcli 3.20.3 requires botocore<1.24.0,>1.23.41, but you have botocore 1.27.7 which is incompatible.

So I'm trying to install the older version of Botocore, 1.24.0 or 1.23.41, but after looking at PyPi I can't seem to find it since it just says use pip3 install boto3.

Any suggestions?

like image 270
kozendgray Avatar asked Oct 27 '25 09:10

kozendgray


1 Answers

I had the same problem: If you already installed boto3 then do these:

  1. pip uninstall boto3
  2. pip uninstall botocore
  3. pip uninstall s3transfer

then do these:

  1. pip install botocore==1.23.54
  2. pip install boto3==1.20.54

Hope this helps!

like image 85
Rai Shahnawaz Avatar answered Oct 28 '25 22:10

Rai Shahnawaz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!