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
Protoc 2.6.1 - Unrecognized syntax identifier "proto3". This parser only recognizes "proto2". #579
Comments
protoc 2.6.1 is the latest stable version, but it won't work. It doesn't support the "proto3" language yet. You need to use an alpha release of protoc 3.0. (I don't think Ubuntu has it yet so maybe you need to compile it from source?) |
Oh thay makes more sense. @skybrian Is there a tutuorial on how to compile from the source? |
Actually nevermind I figured it out. Thanks for the insight @skybrian |
@AppVineyard I am having the same issue, could you please help me out as to what you did to solve the issue. |
I have the same issue , have you got the solution? |
Hello, we can this page to find the solution: #368 (comment) |
Hi i am having the same error "Unrecognized syntax identifier "proto3". This parser only recognizes "proto2"." while doing this: $ ./run_codegen.sh $ protoc -I ../../protos --python_out=. --grpc_out=. --plugin=protoc-gen-grpc= |
If you want to use proto3, you will need to upgrade your protobuf software to version 3. For a Mac you can get it from here: https://github.com/google/protobuf/releases It may also be available through Homebrew or Linux distros. |
Hi, On the Compilation of openairinterface develop-nb-iot branch,the following errors are occurring: The commands used after downloading the develop branch: cd openairinterface-develop-nb-iot Error: t/issue330/issue330.proto:1:10: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2". The errors are occuring while it is trying to compile the protobuf-c of version 2.6.1 regards, |
@SravyaKeerthana You will need to use protoc 3.0 or higher if you're working with .proto files that have |
Can I know how to update the protoc version from 2.6.1 to protoc 3.0 ? |
You can download a protoc binary from our releases page here: https://github.com/protocolbuffers/protobuf/releases |
I've been trying to setup an 'EC2 - g2.2xlarge' environment to do some "deep dream" testing and utilize the nvidia CUDA GPU benefits. Problem is I can't get past the setup for protobuf in python. I've followed the instruction all the way the point of :
$ python setup.py build
The problem is I get the following output when I run the command above:
Terminal Log:
I can't figure out for the life of me what is causing the problem. I read on other websites similar problems but no solutions except for "Your protoc is out of date. You need to update it." From what I know version 2.6.1 is the latest version.....therefore I am stumped. Apprecaite any help or insight anyone has.
The text was updated successfully, but these errors were encountered: