-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Hello,
The aws-ec2-assign-elastic-ip
package (installed via pip
) got upgraded in our environment from 0.8.1 to 0.10.2. With that new version, the call to aws-ec2-assign-elastic-ip
fails with
Traceback (most recent call last):
File "/usr/bin/aws-ec2-assign-elastic-ip", line 26, in <module>
import aws_ec2_assign_elastic_ip
File "/usr/lib/python2.7/site-packages/aws_ec2_assign_elastic_ip/__init__.py", line 14, in <module>
from ec2_metadata import ec2_metadata
ImportError: No module named ec2_metadata
Checking with pip freeze
, and indeed the ec2_metadata
package is not installed.
For now we solved by pinning to version 0.8.1.
Relevant packages installed (via pip freeze
):
aws-ec2-assign-elastic-ip==0.10.2
boto3==1.12.36
botocore==1.15.36
$ aws --version
aws-cli/1.18.36 Python/2.7.5 Linux/5.6.2-1.el7.elrepo.x86_64 botocore/1.15.36
Hope this helps!
h-svab
Metadata
Metadata
Assignees
Labels
No labels