Skip to content

Cannot import gp and util while running  #112

@mavanish

Description

@mavanish

Running this

./spearmint ../examples/braninpy/config.pb --driver=local --method=GPEIOptChooser --method-args=noiseless=1

OR

python main.py --driver=local --method=GPEIOptChooser --method-args=noiseless=1 ../examples/braninpy/config.pb

Gives the following error, how to solve this?
experiment dir: /home/thsim9/code/spearmint-master/spearmint/examples/braninpy
Traceback (most recent call last):
File "/home/thsim9/code/spearmint-master/spearmint/bin/../spearmint/main.py", line 329, in
main()
File "/home/thsim9/code/spearmint-master/spearmint/bin/../spearmint/main.py", line 164, in main
module = importlib.import_module('chooser.' + options.chooser_module)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/thsim9/code/spearmint-master/spearmint/spearmint/chooser/GPEIOptChooser.py", line 23, in
from spearmint import gp
ImportError: cannot import name gp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions