问题 I'm using Spyder to do some small projects with Keras, and every now and then (I haven't pinned down what it is in the code that makes it appear) I get this message: File "~/.local/lib/python3.5/site-packages/google/protobuf/descriptor_pb2.py", line 1771, in <module> __module__ = 'google.protobuf.descriptor_pb2' TypeError: A Message class can only inherit from Message Weirdly, this exception is not raised if I execute the program outside of Spyder, using the terminal. I've looked around and I