Instead of doing pip install boto3, you should do:
pip install boto3
pip install botocore pip install boto3
Otherwise you won’t have latest botocore installed. If you had done that, you should pip install -U botocore
pip install -U botocore