Skip to content

AttributeError: 'module' object has no attribute 'interfaces' #28

@MrM40

Description

@MrM40

It could be my environment, but I get this error when using the example code:
import debinterface
adapters = debinterface.Interfaces().adapters

Work around:
from debinterface.interfaces import Interfaces
adapters = Interfaces().adapters

Also a thread on stackoverflow about this issue (not mine):
https://stackoverflow.com/questions/27513101/python-attributeerror-module-object-has-no-attribute-interfaces

A minor thing, the download URL on the following page i broken:
https://pypi.python.org/pypi/debinterface

I'm using Debian 9 (stretch)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions