We recently upgraded boto3 to 1.4.1, since that fixed the previous issue I had reported. However, simply installing boto3==1.4.1 caused another set of issues.
In particular, the version of botocore that we had installed (botocore==1.4.56) appears not to be compatible with boto3==1.4.1. We receive errors saying "Unable to load data for: ec2/2016-09-15/service-2".
Looking at the botocore source, their data directory does not have a 2016-09-15 version prior to botocore==1.4.58.
We would have expected installing boto3==1.4.1 to upgrade us to that version of botocore as well, but it did not. Pip reports the botocore dependencies for boto3 to be "Requirement already satisfied (use --upgrade to upgrade): botocore<1.5.0,>=1.4.1 in /usr/local/lib/python2.7/dist-packages (from boto3==1.4.1)"
Yeah that makes sense. At the very least we need to bump up the requirements to have a floor of 1.4.58 for botocore. We will get this updated.
I'm seeing exactly the same issue "botocore.exceptions.DataNotFoundError: Unable to load data for: ec2/2016-11-15/service-2" with boto3 1.4.2.
A pip list tells me I'm running with:
pip uninstall boto3 / pip install boto3==1.4.1 fixes the issue for me.
FWIW I had (still have) botocore 1.4.70 installed systemwide with boto3 1.4.2. Had the same error spit out, pip upgraded to botocore 1.4.93 to avoid it.
This has been fixed for a while now. The min floor is at 1.5.0 of botocore right now. Resolving issue.
I'm seeing this issue with boto3 1.4.2 and botocore 1.16.19
Most helpful comment
I'm seeing exactly the same issue "botocore.exceptions.DataNotFoundError: Unable to load data for: ec2/2016-11-15/service-2" with boto3 1.4.2.
A
pip listtells me I'm running with:pip uninstall boto3/pip install boto3==1.4.1fixes the issue for me.