-
Notifications
You must be signed in to change notification settings - Fork 7
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
AttributeError: module 'clingo' has no attribute 'Control' #28
Comments
Hello ! Can you provide the exact source code you used ? |
Hi @Aluriak, I've just run into the same issue. Ran pipenv install clyngor to add the package to a venv, then ran the first sample on pypi page, ie:
full traceback is:
|
Adding use_clingo_module=False and setting clingo_bin_path seems to work when using my own binaries. |
Thank you for your feedback ! Oh, yes. By default, clingo module is used if available. That behavior is however quite unexpected. I should change that. Thanks for pointing this out. You should use |
Hello, I tried running your example use for clyngor and it raised this error. Its weird since if I try to use clingo python API example it also raises an error for clingo.Control()
Any ideas? Im really looking forward to use clyngor in a production enviroment
The text was updated successfully, but these errors were encountered: