Skip to content

Error listing anything: module 'collections' has no attribute 'Iterable' #280

@640kRAM

Description

@640kRAM

When I attempt to use the maas tool to list anything (machines, profiles, subnets) the tool fails with the error:

Error: module 'collections' has no attribute 'Iterable'

OS: Ubuntu Jammy
Python: 3.10 (Ubuntu pkg)
MAAS Version: 3.1.0 (on Ubuntu Focal)
How was libmaas installed:

$ python3 -m venv maas
$ source maas/bin/activate
$ pip install git+https://github.com/maas/python-libmaas.git
$ pip list installed |grep maas
python-libmaas     0.6.7
$ maas login <url> <username>
# Works
$ maas machines
# Fails

I'm aware of #271 and my version seems to have that fix. Nevertheless, the problem persists.

Thanks,

-Josh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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