spearmint
spearmint copied to clipboard
error "ImportError: No module named google.protobuf.internal"
when trying to run the example python2.7 main.py --driver=local --method=GPEIOptChooser --method-args=noiseless=1 ../examples/braninpy/config.pb
Have removed and reinstalled python2.7-protobuf, protobuf, you name it (note on my machine, python3 is the default, but results in an error if I just try to use it instead, looks like Spearmint is python2.7)
Any ideas?
try using virtualenvs with python2.7 http://docs.python-guide.org/en/latest/dev/virtualenvs/
$ pip install virtualenv $ source venv/bin/activate $ pip install protobuf
run your tests