Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

How you import ProtocolBuffer? #8

Open
pablopantaleon opened this issue Jun 10, 2015 · 1 comment
Open

How you import ProtocolBuffer? #8

pablopantaleon opened this issue Jun 10, 2015 · 1 comment

Comments

@pablopantaleon
Copy link

Hi, i'm new in this. I tried to run the project but give me an error in

google.net.proto import ProtocolBuffer

note: win 8 with python 2.7.7

@pablopantaleon pablopantaleon changed the title How you import ProtocolBuffer How you import ProtocolBuffer? Jun 10, 2015
@quezak
Copy link

quezak commented Sep 25, 2016

I have the same issue.
I tried to run this example from docs
The complete error I'm getting:

Traceback (most recent call last):
  File "./test.py", line 3, in <module>
    from protorpc import remote
  File "/usr/lib64/python3.4/site-packages/protorpc/remote.py", line 117, in <module>
    from . import protobuf
  File "/usr/lib64/python3.4/site-packages/protorpc/protobuf.py", line 41, in <module>
    from .google_imports import ProtocolBuffer
ImportError: cannot import name 'ProtocolBuffer'

Is there any workaround for this?

This happens on both my computers, running gentoo, one has python 3.4 and the other 3.5
protorpc version 0.11.1
protobuf-python version 3.0.0_beta3_p1

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

No branches or pull requests

2 participants