Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to import optlang.inspyred_interface causes error #250

Open
DManowitz opened this issue Apr 17, 2023 · 1 comment
Open

Attempting to import optlang.inspyred_interface causes error #250

DManowitz opened this issue Apr 17, 2023 · 1 comment

Comments

@DManowitz
Copy link

DManowitz commented Apr 17, 2023

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'
@cdiener
Copy link
Member

cdiener commented May 2, 2023

That interface has not been update for three years and the inspired package itself looks abandoned so I would suspect it wouldn't even work with the correct import. But if you want to take a stab in repairing we would definitely appreciate this and welcome a PR 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants