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

error "ImportError: No module named google.protobuf.internal" #65

Open
dinosg opened this issue Jan 25, 2017 · 1 comment
Open

error "ImportError: No module named google.protobuf.internal" #65

dinosg opened this issue Jan 25, 2017 · 1 comment

Comments

@dinosg
Copy link

dinosg commented Jan 25, 2017

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?

@younes-abid
Copy link

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

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