Skip to content
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

Cannot import gp and util while running #112

Open
mavanish opened this issue Sep 1, 2017 · 1 comment
Open

Cannot import gp and util while running #112

mavanish opened this issue Sep 1, 2017 · 1 comment

Comments

@mavanish
Copy link

mavanish commented Sep 1, 2017

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

@Shenxiaoqian
Copy link

hello, I've encountered the same problem as you. Have you already resolved it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants