Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

protobuf-to-dict=0.1.5 issue in RHEL machine #19

Open
Abinayasandhiya opened this issue Jun 5, 2018 · 0 comments
Open

protobuf-to-dict=0.1.5 issue in RHEL machine #19

Abinayasandhiya opened this issue Jun 5, 2018 · 0 comments

Comments

@Abinayasandhiya
Copy link

Hi.

Please find below details of our machine:

[root@XXX ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.8 (Santiago)

We have installed protobuf_to_dict as per the instruction of below document:
https://github.com/benhodgson/protobuf-to-dict

Installation seems fine and could see all the files of protobuf_to_dict.


[root@abi-llvm ~]$ pip install protobuf-to-dict --prefix=/opt/pro
Collecting protobuf-to-dict
Downloading https://files.pythonhosted.org/packages/58/67/5f5702d8f593ec0697a1ae53d18be71f7727155f5b221c94fcecf2bf3e6d/protobuf-to-dict-0.1.0.tar.gz
Collecting protobuf>=2.3.0 (from protobuf-to-dict)
Downloading https://files.pythonhosted.org/packages/9d/61/54c3a9cfde6ffe0ca6a1786ddb8874263f4ca32e7693ad383bd8cf935015/protobuf-3.5.2.post1-cp27-cp27mu-manylinux1_x86_64.whl (6.4MB)
100% |████████████████████████████████| 6.4MB 188kB/s
Collecting six>=1.9 (from protobuf>=2.3.0->protobuf-to-dict)
Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Requirement already satisfied: setuptools in /opt/python-setuptools/noarch/17.1.1.p2711-1/lib/python2.7/site-packages (from protobuf>=2.3.0->protobuf-to-dict)
Installing collected packages: six, protobuf, protobuf-to-dict
Running setup.py install for protobuf-to-dict ... done
Successfully installed protobuf-3.5.2.post1 protobuf-to-dict-0.1.0 six-1.11.0
You are using pip version 9.0.1, however version 10.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.


But when we try to import the module in python facing below issue:


[root@XXX ~]$ python
Python 2.7.11 (default, Oct 17 2016, 09:56:28)
[GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import protobuf_to_dict
Traceback (most recent call last):
File "", line 1, in
File "/opt/python-protobuf-to-dict/noarch/0.1.5.p2711/lib/python2.7/site-packages/protobuf_to_dict.py", line 1, in
from google.protobuf.message import Message
ImportError: No module named google.protobuf.message


Tried so many error fixing using google help but no luck to fix the issue.

Can anyone help me on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant