Hi,
I use the anaconda2 in windows. I have installed all dependencies and succeed to install the package by executing :
python setup.py install
But when i tried to test the model by typing:
python main.py --driver=local --method=GPEIOptChooser --method-args=noiseless=1 ../examples/braninpy/config.pb
I met an error like :
setting up signal handler...
Using experiment configuration: ../examples/braninpy/config.pb
experiment dir: C:\Users\tianjinzi gao\Bayesian optimization\spearmint\spearmint\examples\braninpy
Traceback (most recent call last):
File "main.py", line 329, in
main()
File "main.py", line 164, in main
module = importlib.import_module('chooser.' + options.chooser_module)
File "C:\Anaconda2\lib\importlib_init_.py", line 37, in import_module
import(name)
File "C:\Users\tianjinzi gao\Bayesian optimization\spearmint\spearmint\spearmint\chooser\GPEIOptChooser.py", line 23, in
from spearmint import gp
ImportError: No module named spearmint
I tried to add the spearmint subdirectory in the PYTHONPATH by adding a .pth file containing the path of spearmint subdirectory in the $HOME/path/to/anaconda/lib/pythonX.X/site-packages .
However, there is always this error.
Hi,
I use the anaconda2 in windows. I have installed all dependencies and succeed to install the package by executing :
python setup.py install
But when i tried to test the model by typing:
python main.py --driver=local --method=GPEIOptChooser --method-args=noiseless=1 ../examples/braninpy/config.pb
I met an error like :
setting up signal handler...
Using experiment configuration: ../examples/braninpy/config.pb
experiment dir: C:\Users\tianjinzi gao\Bayesian optimization\spearmint\spearmint\examples\braninpy
Traceback (most recent call last):
File "main.py", line 329, in
main()
File "main.py", line 164, in main
module = importlib.import_module('chooser.' + options.chooser_module)
File "C:\Anaconda2\lib\importlib_init_.py", line 37, in import_module
import(name)
File "C:\Users\tianjinzi gao\Bayesian optimization\spearmint\spearmint\spearmint\chooser\GPEIOptChooser.py", line 23, in
from spearmint import gp
ImportError: No module named spearmint
I tried to add the spearmint subdirectory in the PYTHONPATH by adding a .pth file containing the path of spearmint subdirectory in the $HOME/path/to/anaconda/lib/pythonX.X/site-packages .
However, there is always this error.