python - AttributeError: 'module' object has no attribute 'SMAC_optimizer' -
i try run pysmac find input parameters python function minimizing return value. followed example quickstart guide, raises exception:
attributeerror: 'module' object has no attribute 'smac_optimizer'
import section includes: import pysmac
.
exception in line:
opt = pysmac.smac_optimizer()
why raising exception , how can solve it?
i've asked developers on github, haven't give answer yet. i've read similar questions on stackoverflow, there no solution.
i cloned repository https://github.com/automl/pysmac.git , run python setup.py install
.
it helps, smac works after that.
note: installing pysmac via pip using pip install pysmac
caused error.
this didn't either: pip install git+https://github.com/automl/pysmac.git
wiki
Comments
Post a Comment