AWS CLI installation error

0 votes

I installed AWS CLI as stated in this page

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/", 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,430 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

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,090 points

Related Questions In AWS

0 votes
1 answer

Post Installation, AWS Cli Not added

From this document: For Modern macos/OSX, you need ...READ MORE

answered Jun 5, 2018 in AWS by Cloud gunner
• 4,240 points
0 votes
1 answer

AWS cli returns error

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

answered Jan 15 in AWS by vishnu
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket.….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,140 points
0 votes
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
• 56,140 points
0 votes
2 answers
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,090 points
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,090 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.