Can anyone please tell me the process on how to install protocol buffers? I want to run Python scripts, which need protocol buffers installed.
Any help will be appreciated.
Thank You.
Can anyone please tell me the process on how to install protocol buffers? I want to run Python scripts, which need protocol buffers installed.
Any help will be appreciated.
Thank You.
The installation instruction for Google Protocol Buffers are mentioned below.
python --version
anaconda search -t conda protobufNote: Python3 might be installed in your system, but it doesn't pose a threat, since Python2 has been installed via Anaconda3 virtual environment, in step 7.
anaconda show eugene/protobuf
conda install --channel "https://conda.anaconda.org/eugene" protobuf
<p>Note: Remove the double inverted commas. I have given them, since in the Knime Forum Screen, the command is not properly shown.</p>
</li>
<li>Now Protocol Buffers have been installed successfully.</li>
<li>Open My Computer.</li>
<li>Go to "System Properties-> Advanced System Settings->Environment Variables"</li>
<li>In the "System Variables" tab, select "Path" option. Open it.</li>
<li>Additional 2 paths have to be added. They are
<pre class="brush:;">
C:\Anaconda3\envs\knime
<pre class="brush:;">
C:\Anaconda3\envs\knime\Scripts
If the installation of Protocol Buffers is for the intention of using Python scripts in Knime, follow the below steps.
conda install numpy
conda install pandas
C:\Anaconda3\envs\knime\python.exe
Um, I thnk you found it out by yourself?
Here is the description how to set it up : https://www.knime.org/blog/how-to-setup-the-python-extension
Hi,
Just a small comment, you can also install pip in your environment knime.
Sometimes I feel it is a little chaos in finding the packages with conda, since different users can upload a same package. Pip is somehow easier.
For example:
source activate knime
conda install pip pip install protobuf
Best Regards,
Ying
Yes, I have found it by myself. I have also been through the link you provided earlier. But, it did not work for me. I tried a lot number of times. I have also tried installing Google Protocol Buffers as mentioned in GitHub.
"https://github.com/google/protobuf"
Even that didn't work for me. I have almost spent 2 weeks in trying to install protocol buffers.
hello,
Thank you for your suggestion. I didn't know that way. It did not strike my mind when I was trying to install Protocol Buffers.
Where / How to apply the path given in step 9 ?? in Anaconda3 navigator