Use of Google Protobufs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am working on an application and would like to use Google Protobufs within my Fusion Python script.
I have followed the instructions as listed here
https://developers.google.com/protocol-buffers/docs/pythontutorial
And I can build / import the protobuf file when using Python at the command line, with the MS Visual Studio Python installation 3.7.5.
To get this to work, I needed to install the protobuf libraries via pip:
https://pypi.org/project/protobuf/
So my question is: Is the Python installation that MSVS installs the same as what Fusion is using? If not, how can I install protobuf support in the Python that Fusion uses?
Also: I need to import the *.py protobuf file created by the Google protobuf compiler; how can I get this file on the path as seen by the Fusion Python? I was debugging a custom Python script already so I placed the protobuf *.py file in the same directory as my script and I was still unable to import.
Thanks for any tips...
Scott