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

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -