Skip to content

Attempting to import optlang.inspyred_interface causes error #250

Open
@DManowitz

Description

@DManowitz

Problem description

Attempting to import optlang.inspyred_interface causes error. This should be importable. I think the call to import interface should be from optlang import interface, as done in other _interface files.

Code Sample

Create a minimal, complete, verifiable example.

import optlang.inspyred_interface
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "...\lib\site-packages\optlang\inspyred_interface.py", line 29, in <module>
    import interface
ModuleNotFoundError: No module named 'interface'

Context

>>> optlang.show_versions()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'optlang' has no attribute 'show_versions'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions