AWS CLI installation error

0 votes

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,440 points
82 views

1 answer to this question.

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:  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,260 points
166 views
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
44 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
• 56,520 points
231 views
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,520 points
454 views
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
1,263 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,090 points
446 views