ImportError: No module named google.protobuf
2018. 10. 8. 11:24
OS/Linux
google.protobuf 를 사용하는 Python 프로그램을 동작시키면 아래와 같은 에러를 볼 수 있다. brown@brown $ ./test.py Traceback (most recent call last): File "./test.py", line 24, in import google.protobuf.text_format ImportError: No module named google.protobuf.text_format 이때는 아래 명령을 통해 설치해주면 해결된다. sudo pip install google sudo pip install protobuf