AWS CLI installation error

+1 vote

I installed AWS CLI as stated in this page http://docs.amazonwebservices.com/cli/latest/userguide/cli-chap-getting-started.html

And the following is the installation error: 

.........Traceback (most recent call last):
  File "/usr/local/share/python/aws", line 15, in <module>
    import awscli.clidriver
  File "/usr/local/lib/python2.7/site-packages/awscli/__init__.py", line 18, in <module>
    import botocore.base
ImportError: No module named botocore.
Since installing the pip its successful, but why that botocore is being reported no such file?
Oct 8, 2018 in AWS by datageek
• 2,540 points
2,162 views

1 answer to this question.

+1 vote

Try this command

sudo pip install awscli --force-reinstall --upgrade
This should solve your problem. Hope this helped.
answered Oct 8, 2018 by Archana
• 4,170 points
awesome. it worked.

Related Questions In AWS

0 votes
1 answer

Post Installation, AWS Cli Not added

From this document:  http://docs.aws.amazon.com/cli/latest/userguide/cli-install-macos.html#awscli-install-osx-path For Modern macos/OSX, you need ...READ MORE

answered Jun 5, 2018 in AWS by Cloud gunner
• 4,670 points
2,913 views
0 votes
1 answer

AWS cli returns error

Well the most common error would be 1. ...READ MORE

answered Jan 16, 2019 in AWS by vishnu
1,045 views
0 votes
1 answer

error: invalid credentials in aws cli.

Hi@akhtar, You may got this error, if your ...READ MORE

answered Apr 27, 2020 in AWS by MD
• 95,460 points
1,179 views
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 58,020 points
5,963 views
–1 vote
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 58,020 points
5,210 views
0 votes
2 answers
0 votes
1 answer
0 votes
1 answer

AWS S3 CLI : error while trying to copy files locally using terminal

For the first error you should add ...READ MORE

answered Aug 3, 2018 in AWS by Archana
• 4,170 points
11,416 views
0 votes
1 answer

Error when tried to invoke lambda function by AWS CLI

It looks like you need to provide ...READ MORE

answered Sep 10, 2018 in AWS by Archana
• 4,170 points
2,247 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP