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

protoc error #82

Open
nbhupendra opened this issue Sep 25, 2019 · 5 comments
Open

protoc error #82

nbhupendra opened this issue Sep 25, 2019 · 5 comments

Comments

@nbhupendra
Copy link

Please help
Error getting -while running protoc aster/protos/.proto --python_out=.
aster/protos/
.proto: No such file or directory

@shaohailin
Copy link

same error

@fink-stanislav
Copy link

@nbhupendra do you run this command inside aster directory?

@shaohailin
Copy link

@fink-stanislav thanks for your reply! i have solved the problem.
there are two ways to solve it
method1. if you are inside aster directory ,run the command : protoc *.proto --python_out=.
or
method2. if you are inside aster's parent directory,run the command :protoc aster/protos/.proto --python_out=.

@getcontrol
Copy link

Is it protos or proto? Because the child directory is named protos (plural). Spelling matters. Does it matter here?

Regardless , neither protos nor proto works.

Current directory:
/Users/me/aster
( I assume this is was you mean by "inside aster directory").
Aster directory looks like this:

├── LICENSE
├── README.md
├── builders
├── c_ops
├── convnets
├── core
├── data
├── data_decoders
├── demo
├── demo.py
├── eval.py
├── eval_util.py
├── evaluator.py
├── experiments
├── meta_architectures
├── overview.png
├── predictors
├── protos
├── tools
├── train.py
├── trainer.py
└── utils
I run the command: protoc *.proto --python_out=.
*.proto: No such file or directory

Maybe its the spelling:: protoc *.protos --python_out=.
*.protos: No such file or directory

@jtwsmeal
Copy link

If you're in the aster directory (for example, /Users/me/aster), the command should be protoc protos/*.proto --python_out=..

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

5 participants