ImportError: No module named 'awscli'

0 votes

I tried to install aws cli in my system using pip command. But I am getting this below error.

$ pip install awscli --upgrade --user
ImportError: No module named awscli

I upgraded pip and then again tried, but still I am getting the same error.

Apr 27 in AWS by akhtar
• 11,270 points
68 views

1 answer to this question.

0 votes

Hi@akhtar,

To install aws cli in your system, use the below given commands.

$ pip3 uninstall awscli
$ pip3 install awscli

After that set path in .bashrc file. It will work.

answered Apr 27 by MD
• 24,500 points

Related Questions In AWS

0 votes
1 answer
0 votes
1 answer

'No module named 'requests'' on the AWS Python Lambda function?

Hi@akhtar, According to my knowledge requests is not ...READ MORE

answered Apr 15 in AWS by MD
• 24,500 points
512 views
0 votes
1 answer

Unable to import module 'lambda_function': No module named lambda_function

Hi@akhtar, This error appears when you haven’t named ...READ MORE

answered Apr 28 in AWS by MD
• 24,500 points
511 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
• 57,530 points
774 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
• 57,530 points
1,554 views
0 votes
2 answers
0 votes
1 answer

ImportError: No module named botocore.session

Hi@akhtar, I think you are using previous version ...READ MORE

answered Apr 27 in AWS by MD
• 24,500 points
74 views
0 votes
1 answer

ImportError: No module named boto3

Hi@akhtar, I think boto3 module is missing from ...READ MORE

answered Apr 28 in AWS by MD
• 24,500 points
399 views