title: Problems getting fastpython protobuf support
body: <p>I see that there is supposed to be support for creating python wrappers to the C++ generated protobuf readers.</p>
  
  <p>From <a href="http://yz.mit.edu/wp/fast-native-c-protocol-buffers-from-python/" rel="nofollow noreferrer">http://yz.mit.edu/wp/fast-native-c-protocol-buffers-from-python/</a>
   I find a simple way to turn on support by setting the environment variable:</p>
  
  <p>PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=cpp </p>
  
  <p>if I do that I get the following error:</p>
  
  <pre><code>    import pyFileLib.db_proc_geo_pb2
    File "C:\sandbox\PrortoBuf\lib\pyFileLib\db_proc_geo_pb2.py", line 6, in &lt;module&gt;
      from google.protobuf import descriptor as _descriptor
    File "c:\python\winpython-64bit-3.6.3.0qt5\python-3.6.3.amd64\lib\site-packages\google\protobuf\descriptor.py", line 46, in &lt;module&gt;
      from google.protobuf.pyext import _message
  ImportError: cannot import name '_message'
  </code></pre>
  
  <p>I see a way to extend the protoc generator to natively generate fastpython ouput:
  <a href="https://github.com/Cue/fast-python-pb" rel="nofollow noreferrer">https://github.com/Cue/fast-python-pb</a></p>
  
  <pre><code>git clone https://github.com/Cue/fast-python-pb.git
  
  cd fast-python-pb
  
  python setup.py install
  </code></pre>
  
  <p>I get the following error when trying to run protoc with --fastpython_out:</p>
  
  <pre><code>ModuleNotFoundError: No module named 'plugin_pb2'
  
  --fastpython_out: protoc-gen-fastpython: Plugin failed with status code 1.
  </code></pre>
  
  <p>It looks like this is related to:
  <a href="https://groups.google.com/forum/#!topic/protobuf/5Ywz8gwn9Kk" rel="nofollow noreferrer">https://groups.google.com/forum/#!topic/protobuf/5Ywz8gwn9Kk</a></p>
  
  <blockquote>
    <p>python installation of protocol buffers does not generate the
    google.protobuf.compiler.plugin_pb2 python file, while
    google.protobuf.descriptor_pb2 is explicitly generated by
    protobuf/python/setup.py</p>
  </blockquote>
  
  <p>How do I go about making this explicit installation happen...or otherwise making protobuf performance in python acceptable?</p>