When using the generated Python code from our protobuf classes, we get this error:
cannot import name descriptor_pb2
The equivalent C++ gen
I use python 2.7 on windows 10.
In my case, I have downloaded protoc-3.0.0-beta-2-win32 from https://github.com/google/protobuf/releases and copied the binary protoc file to src folder.
after that I have run the command python setup.py build and the descriptor_pb2 was generated.