ImportError: No module named botocore.session

0 votes

Hi Guys,

I already installed boto3 module in my system, but still I am getting this below error.

import botocore.session
ImportError: No module named botocore.session

How can I solve this error?

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

1 answer to this question.

0 votes

Hi@akhtar,

I think you are using previous version of boto3. Try to upgrade boto3 using the below given command.

$ pip install boto3 --upgrade

Hope this will help.

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

Deploy multiple platforms to Elastic Beanstalk

Solve by using .ebextentions to run pre-install commands in ...READ MORE

answered Nov 28, 2018 in AWS by Archana
• 5,600 points
155 views
0 votes
1 answer

ImportError: No module named 'awscli'

Hi@akhtar, To install aws cli in your system, ...READ MORE

answered Apr 27 in AWS by MD
• 24,500 points
68 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