Skip to content

aws-iamctl is not working with python >= 3.10 - "ImportError: cannot import name 'Mapping' from 'collections'" #6

Description

@DutchForeigner

aws-iamctl does not work with python >= 3.10
You would get an error when running 'iamctl': "ImportError: cannot import name 'Mapping' from 'collections'"
This seems to be a known issue with 'collections' and python >=3.10

You can make it to work, by updating some of the module versions in 'requirements.txt'
Updating to below versions worked for me:
boto3==1.26.60
botocore=1.29.60
s3transfer==0.6.0
urllib3==1.26.14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions