title: Cannot find `protoc` command
body: <p>When I run this:</p>
  
  <pre><code>protoc --python_out=. .\object_detection\protos\anchor_generator.proto
  </code></pre>
  
  <p>on a tensorflow object detection file on the command line, I get:</p>
  
  <pre><code>'protoc' is not recognized as an internal or external command, operable program or batch file.
  </code></pre>
  
  <p>I followed all instructions in <a href="https://stackoverflow.com/questions/46491112/protoc-object-detection-protos-proto-no-such-file-or-directory">protoc object_detection/protos/*.proto: No such file or directory</a>, but they never worked for me </p>
  
  <p>In addition to the searches I made, I tried this command:</p>
  
  <pre><code>py-3.6 -m pip install protobuf
  </code></pre>
  
  <p>and it works for me.</p>
  
  <p>I typed  the command again </p>
  
  <pre><code>python_out=. .\object_detection\protos\anchor_generator.proto 
  </code></pre>
  
  <p>But it still fails and this:</p>
  
  <pre><code>C:\Users\laptop market\Downloads\bin\protoc object_detection/protos/*.proto --py_out=.
  </code></pre>
  
  <p>also fails.</p>