Protobuf installation instruction » History » Version 2
Anchi Cheng, 04/11/2014 08:45 PM
| 1 | 2 | Anchi Cheng | h2. Portobuf installation instruction |
|---|---|---|---|
| 2 | 1 | Anchi Cheng | |
| 3 | 2 | Anchi Cheng | Google Protobuf is an open source communication library we use between client and server. For C++ programs, it is built into the program, so no external library installation is needed. However, for Python/Leginon only, the library will need to be added. A simple way to install this for python use follows: |
| 4 | 1 | Anchi Cheng | |
| 5 | 2 | Anchi Cheng | # Download 2.3.0 (or up) source zip file as well as the win32.zip binary file |
| 6 | 1 | Anchi Cheng | # Unzip both packages. Copy the binary into protobuf\src folder |
| 7 | # Go into protobuf\python and run "python setup.py install" and that's it. |