Skip to content

AttributeError: module 'ecole' has no attribute 'instance' #129

Discussion options

You must be logged in to vote

In that last error message, name 'ecole' is not defined, Python is telling you that you are using some name (ecole) that is not in your scope.
Indeed, it does not exist yet in your notebook. You need to import ecole for that code to work.


I cannot reproduce your error under any version of ecole since the instance generator were introduced (v0.3.0).
I think the best thing to do for you would be to try to reinstall everything from the start.

conda uninstall ecole
conda install -c conda-forge -c scipopt 'ecole>=0.4'

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@augustgao1995
Comment options

Answer selected by AntoinePrv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #124 on February 12, 2021 15:26.